Exemple #1
0
 public static void Reset()
 {
     ClassPostfix = null;
     CustomClassNameMapping.Clear();
     CSharpVersion = CSharpVersion.Compatible;
     CustomScalarFieldTypeMapping = DefaultScalarFieldTypeMapping;
     CommentGeneration            = CommentGenerationOption.Disabled;
     IncludeDeprecatedFields      = false;
     FloatType   = FloatType.Decimal;
     IntegerType = IntegerType.Int32;
     IdType      = IdType.Guid;
     TreatUnknownObjectAsScalar = false;
     GeneratePartialClasses     = true;
     MemberAccessibility        = MemberAccessibility.Public;
     JsonPropertyGeneration     = JsonPropertyGenerationOption.CaseInsensitive;
 }
Exemple #2
0
 public void Reset()
 {
     ClassPrefix = null;
     ClassSuffix = null;
     CustomClassNameMapping.Clear();
     CSharpVersion = CSharpVersion.Compatible;
     ScalarFieldTypeMappingProvider = DefaultScalarFieldTypeMappingProvider.Instance;
     PropertyAccessorBodyWriter     = GeneratePropertyAccessors;
     CommentGeneration          = CommentGenerationOption.Disabled;
     IncludeDeprecatedFields    = false;
     FloatTypeMapping           = FloatTypeMapping.Decimal;
     BooleanTypeMapping         = BooleanTypeMapping.Boolean;
     IntegerTypeMapping         = IntegerTypeMapping.Int32;
     IdTypeMapping              = IdTypeMapping.Guid;
     TreatUnknownObjectAsScalar = false;
     GeneratePartialClasses     = true;
     MemberAccessibility        = MemberAccessibility.Public;
     JsonPropertyGeneration     = JsonPropertyGenerationOption.CaseInsensitive;
     PropertyGeneration         = PropertyGenerationOption.AutoProperty;
 }