3 public static class PublicNoArgumentConstructorIsMissingConstants
5 public const string HasNonPublicNoArgumentConstructor =
"HasNonPublicNoArgumentConstructor";
6 public const string Title =
"Find CSLA Business Objects That do not Have Public No-Arugment Constructors";
7 public const string IdentifierText =
"PublicNoArgumentConstructorIsMissing";
8 public const string Message =
"CSLA business objects must have a public constructor with no arguments";
11 public static class ConstructorHasParametersConstants
13 public const string Title =
"Find CSLA Business Objects That Have Constructors With Parameters";
14 public const string IdentifierText =
"ConstructorHasParameters";
15 public const string Message =
"CSLA business objects should not have public constructors with parameters";
18 public static class FindBusinessObjectCreationConstants
20 public const string Title =
"Find CSLA Business Objects That Are Created Outside of a ObjectFactory";
21 public const string IdentifierText =
"BusinessObjectCreated";
22 public const string Message =
"CSLA business objects should not be created outside of a ObjectFactory instance";
25 public static class CheckConstructorsAnalyzerPublicConstructorCodeFixConstants
27 public const string AddPublicConstructorDescription =
"Add public constructor with no arguments";
28 public const string UpdateNonPublicConstructorToPublicDescription =
"Update non-public constructor to public";