public RecognizedArgument(ArgumentWithOptions argumentWithOptions, int index, string argument, string value = null) { Index = index; Value = value; WithOptions = argumentWithOptions; Argument = argument; }
public Param(Type type, string name, ArgumentWithOptions argWithOptions) { Type = type; Name = name; Index = counter++; ArgumentWithOptions = argWithOptions; }
private string DescriptionAndHelp(ArgumentWithOptions r) { return r.Help(); }
public bool Equals(ArgumentWithOptions other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Description, Description) && Equals(other.Argument, Argument) && other.Required.Equals(Required); }