internal CommandLineAction() { overrides = new AttrOverride(GetType()); 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()); }