internal CommandLineAction()
 {
     overrides = new AttrOverride();
     Aliases   = new AliasCollection(() => { return(Metadata.Metas <ArgShortcut>()); }, () => { return(IgnoreCase); }, stripLeadingArgInticatorsOnAttributeValues: false);
     PropertyInitializer.InitializeFields(this, 1);
     IgnoreCase = true;
 }
Beispiel #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;
 }
Beispiel #3
0
 /// <summary>
 /// Creates an empty command line arguments definition.
 /// </summary>
 public CommandLineArgumentsDefinition()
 {
     PropertyInitializer.InitializeFields(this, 1);
     overrides = new AttrOverride(GetType());
 }
 /// <summary>
 /// Creates an empty command line arguments definition.
 /// </summary>
 public CommandLineArgumentsDefinition()
 {
     overrides = new AttrOverride(GetType());
 }