internal CommandLineAction() { overrides = new AttrOverride(); Aliases = new AliasCollection(() => { return(Metadata.Metas <ArgShortcut>()); }, () => { return(IgnoreCase); }, stripLeadingArgInticatorsOnAttributeValues: false); PropertyInitializer.InitializeFields(this, 1); IgnoreCase = true; }
internal CommandLineArgument() { overrides = new AttrOverride(); Aliases = new AliasCollection(() => { return(Metadata.Metas <ArgShortcut>()); }, () => { return(IgnoreCase); }); PropertyInitializer.InitializeFields(this, 1); ArgumentType = typeof(string); Position = -1; }
/// <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() { PropertyInitializer.InitializeFields(this, 1); ExceptionBehavior = new ArgExceptionBehavior(); }