protected ObjectParse(SchemaInfo schemaInfo, ArgsParser argsParser, string flag) { SchemaInfo = schemaInfo; ArgsParser = argsParser; Value = GetArgsValue(flag); Flag = flag; }
/// <summary> /// 获取默认值 /// </summary> /// <param name="flag"></param> /// <returns></returns> private string GetArgsValue(string flag) { var value = ArgsParser.GetValue(flag, out bool exist); Exist = exist; return(value); }
public StringListParse(SchemaInfo schemaInfo, ArgsParser argsParser, string flag) : base(schemaInfo, argsParser, flag) { }
public BoolParse(SchemaInfo schemaInfo, ArgsParser argsParser, string flag) : base(schemaInfo, argsParser, flag) { }
public Args(ArgsParser argsParser, ArgsSchema argsSchema) { ArgsParser = argsParser; ArgsSchema = argsSchema; }
public IntListParse(SchemaInfo info, ArgsParser argsParser, string flag) : base(info, argsParser, flag) { }