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
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ static void Main(string[] args)
38
38
vardisableComments=false;
39
39
vardoNotUseUnderscoreInPrivateMemberNames=false;
40
40
vargenerateDescriptionAttribute=true;
41
+
varenableUpaCheck=true;
41
42
42
43
varoptions=newOptionSet{
43
44
{"h|help","show this message and exit", v =>showHelp=v!=null},
@@ -74,6 +75,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
74
75
{"f|ef","generate Entity Framework Code First compatible classes", v =>entityFramework=v!=null},
75
76
{"t|interface","generate interfaces for groups and attribute groups (default is enabled)", v =>interfaces=v!=null},
76
77
{"a|pascal","use Pascal case for class and property names (default is enabled)", v =>pascal=v!=null},
78
+
{"u|enableUpaCheck","should XmlSchemaSet check for Unique Particle Attribution (UPA) (default is enabled)", v =>enableUpaCheck=v!=null},
77
79
{"ct|collectionType=","collection type to use (default is "+typeof(Collection<>).FullName+")", v =>collectionType=v==null?typeof(Collection<>):Type.GetType(v,true)},
78
80
{"cit|collectionImplementationType=","the default collection type implementation to use (default is null)", v =>collectionImplementationType=v==null?null:Type.GetType(v,true)},
79
81
{"ctro|codeTypeReferenceOptions=","the default CodeTypeReferenceOptions Flags to use (default is unset; can be: {GlobalReference, GenericTypeParameter})", v =>codeTypeReferenceOptions=v==null?default(CodeTypeReferenceOptions):(CodeTypeReferenceOptions)Enum.Parse(typeof(CodeTypeReferenceOptions),v,false)},
@@ -126,7 +128,8 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
0 commit comments