internal CommandLineAction()
 {
     overrides = new AttrOverride();
     Aliases   = new AliasCollection(() => { return(Metadata.Metas <ArgShortcut>()); }, () => { return(IgnoreCase); }, stripLeadingArgInticatorsOnAttributeValues: false);
     PropertyInitializer.InitializeFields(this, 1);
     IgnoreCase = true;
 }
示例#2
0
 internal CommandLineArgument()
 {
     overrides = new AttrOverride();
     Aliases   = new AliasCollection(() => { return(Metadata.Metas <ArgShortcut>()); }, () => { return(IgnoreCase); });
     PropertyInitializer.InitializeFields(this, 1);
     ArgumentType = typeof(string);
     Position     = -1;
 }
示例#3
0
 /// <summary>
 /// Creates an empty command line arguments definition.
 /// </summary>
 public CommandLineArgumentsDefinition()
 {
     PropertyInitializer.InitializeFields(this, 1);
     overrides = new AttrOverride(GetType());
 }
示例#4
0
 /// <summary>
 /// Creates an empty command line arguments definition.
 /// </summary>
 public CommandLineArgumentsDefinition()
 {
     PropertyInitializer.InitializeFields(this, 1);
     ExceptionBehavior = new ArgExceptionBehavior();
 }