You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: XmlSchemaClassGenerator.Console/Program.cs
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
usingXmlSchemaClassGenerator;
1
+
usingXmlSchemaClassGenerator;
2
2
usingXmlSchemaClassGenerator.NamingProviders;
3
3
usingSystem;
4
4
usingSystem.CodeDom;
@@ -69,8 +69,9 @@ static int Main(string[] args)
69
69
varseparateNamespaceHierarchy=false;
70
70
varserializeEmptyCollections=false;
71
71
varallowDtdParse=false;
72
-
varomitXmlIncludeAttribute=false;
73
-
NamingScheme?namingScheme=null;
72
+
varomitXmlIncludeAttribute=false;
73
+
varenumCollection=false;
74
+
NamingScheme?namingScheme=null;
74
75
varforceUriScheme="none";
75
76
76
77
@@ -170,7 +171,8 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
170
171
{"uc|unionCommonType","generate a common type for unions if possible (default is false)", v =>unionCommonType=v!=null},
171
172
{"ec|serializeEmptyCollections","serialize empty collections (default is false)", v =>serializeEmptyCollections=v!=null},
172
173
{"dtd|allowDtdParse","allows dtd parse (default is false)", v =>allowDtdParse=v!=null},
173
-
{"oxi|omitXmlIncludeAttribute","omit generation of XmlIncludeAttribute for derived types (default is false)", v =>omitXmlIncludeAttribute=v!=null},
174
+
{"oxi|omitXmlIncludeAttribute","omit generation of XmlIncludeAttribute for derived types (default is false)", v =>omitXmlIncludeAttribute=v!=null},
175
+
{"ecl|enumCollection","generate typed enum collections for xs:list types instead of string collections (default is false)", v =>enumCollection=v!=null},
174
176
{"ns|namingScheme=",@"use the specified naming scheme for class and property names (default is Pascal; can be: Direct, Pascal, Legacy)",
175
177
v =>
176
178
{
@@ -272,8 +274,9 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
0 commit comments