Permalink
Browse files

added StyleCop settings for all projects based on Settings.StyleCop i…

…n src directory. Minimum rules turned on.
  • Loading branch information...
kuangmarkeleven committed Nov 5, 2011
1 parent 6188f63 commit 5cf3897739e5e593faf3acaa102c2cd66b7edb7c
@@ -0,0 +1,6 @@
+<StyleCopSettings Version="105">
+ <GlobalSettings>
+ <StringProperty Name="LinkedSettingsFile">..\Settings.StyleCop</StringProperty>
+ <StringProperty Name="MergeSettingsFiles">Linked</StringProperty>
+ </GlobalSettings>
+</StyleCopSettings>
@@ -0,0 +1,6 @@
+<StyleCopSettings Version="105">
+ <GlobalSettings>
+ <StringProperty Name="LinkedSettingsFile">..\..\Settings.StyleCop</StringProperty>
+ <StringProperty Name="MergeSettingsFiles">Linked</StringProperty>
+ </GlobalSettings>
+</StyleCopSettings>
@@ -0,0 +1,6 @@
+<StyleCopSettings Version="105">
+ <GlobalSettings>
+ <StringProperty Name="LinkedSettingsFile">..\..\Settings.StyleCop</StringProperty>
+ <StringProperty Name="MergeSettingsFiles">Linked</StringProperty>
+ </GlobalSettings>
+</StyleCopSettings>
@@ -0,0 +1,6 @@
+<StyleCopSettings Version="105">
+ <GlobalSettings>
+ <StringProperty Name="LinkedSettingsFile">..\..\Settings.StyleCop</StringProperty>
+ <StringProperty Name="MergeSettingsFiles">Linked</StringProperty>
+ </GlobalSettings>
+</StyleCopSettings>
@@ -1,22 +1,22 @@
using GiveCRM.Models.Search;
using GiveCRM.Web.Models.Search;
-namespace GiveCRM.Models
-{
- public class MemberSearchFilter
- {
- public int Id { get; set; }
- public int CampaignId { get; set; }
-
- public string InternalName { get; set; }
- public string DisplayName { get; set; }
- public int FilterType { get; set; }
- public int SearchOperator { get; set; }
- public string Value { get; set; }
-
+namespace GiveCRM.Models
+{
+ public class MemberSearchFilter
+ {
+ public int Id { get; set; }
+ public int CampaignId { get; set; }
+
+ public string InternalName { get; set; }
+ public string DisplayName { get; set; }
+ public int FilterType { get; set; }
+ public int SearchOperator { get; set; }
+ public string Value { get; set; }
+
public SearchCriteria ToSearchCriteria()
{
return SearchCriteria.Create(InternalName, DisplayName, (SearchFieldType) FilterType, (SearchOperator) SearchOperator, Value);
- }
- }
-}
+ }
+ }
+}
@@ -0,0 +1,6 @@
+<StyleCopSettings Version="105">
+ <GlobalSettings>
+ <StringProperty Name="LinkedSettingsFile">..\Settings.StyleCop</StringProperty>
+ <StringProperty Name="MergeSettingsFiles">Linked</StringProperty>
+ </GlobalSettings>
+</StyleCopSettings>
@@ -0,0 +1,6 @@
+<StyleCopSettings Version="105">
+ <GlobalSettings>
+ <StringProperty Name="LinkedSettingsFile">..\Settings.StyleCop</StringProperty>
+ <StringProperty Name="MergeSettingsFiles">Linked</StringProperty>
+ </GlobalSettings>
+</StyleCopSettings>
Oops, something went wrong.

0 comments on commit 5cf3897

Please sign in to comment.