public void SetUp()
 {
     codeGenConfig = new CodeGeneratorConfiguration();
     Configuration = codeGenConfig.MediaTypes;
     Generator     = new PropertyInfoGenerator(
         Configuration,
         TestDataTypeProvider.All
         );
     attribute = new CodeAttributeDeclaration();
     property  = new GenericProperty {
         Alias = "anEntity"
     };
 }
Example #2
0
 public void SetUp()
 {
     codeGenConfig = CodeGeneratorConfiguration.Create();
     Configuration = codeGenConfig.MediaTypes;
     Generator     = new PropertyInfoGenerator(
         Configuration,
         TestDataTypeProvider.All,
         new EntityDescriptionGenerator(Configuration)
         );
     Candidate = codeProperty = new CodeMemberProperty();
     property  = new GenericProperty {
         Alias = "anEntity"
     };
 }