NancyFx/Nancy — pull request #1052 by damianh (2013-03-29 10:28:40+00:00)
Title: Add Resharper solution settings with modifications to match nancy's codi...

...ng style. Further tweaking will be required.

Code Editing \ C# \ C# Naming Style \ Instance fields (private) \ lowerCamelCase
Code Editing \ C# \ C# Naming Style \ Instance fields (private) \ lowerCamelCase
Code Editing \ C# \ Formatting Style \ Braces Layout \ Method declaration \ At next line (BSD)
Code Editing \ C# \ Formatting Style \ Braces Layout \ Array and object initializer \ At next line (BSD)
Code Editing \ C# \ Formatting Style \ Blank Lines \ Blank Lines\ Betweem different "using" groups = 1
Code Editing \ C# \ Formatting Style \ Spaces \ Other \ After type cast parentheses = unchecked
Code Editing \ C# \ Formatting Style \ Other \ Force "this." qualifier for instance member = Use always
Code Editing \ C# \ Namespace Imports \ Add using directive to the deepest scope
Code Editing \ C# \ Namespace Imports \ Prefer full qualified using name at nested scope

NancyStandard Code Cleanup profie
- C# \ Make field read-only, if possible
- C# \ Local variable declaration style = Always use 'var'
- C# \ Optimize 'using' directives \ Optimize 'using' directives = checked
- C# \ Shorten qualified references = checked
- C# \ Reformat code = checked
- C# \ Reorder type members = checked

This will help contributors match coding style easily. It'll probably need to be run on the entire code base as a once-off so there is a consistent starting point.