class to enable extensions of the behavior of what is recognized as arguments.
コード例 #1
0
ファイル: RecognizedArgument.cs プロジェクト: Lundalogik/isop
 public RecognizedArgument(ArgumentWithOptions argumentWithOptions, int index, string argument, string value = null)
 {
     Index = index;
     Value = value;
     WithOptions = argumentWithOptions;
     Argument = argument;
 }
コード例 #2
0
ファイル: Param.cs プロジェクト: Lundalogik/isop
 public Param(Type type, string name, ArgumentWithOptions argWithOptions)
 {
     Type = type;
     Name = name;
     Index = counter++;
     ArgumentWithOptions = argWithOptions;
 }
コード例 #3
0
ファイル: HelpForControllers.cs プロジェクト: Lundalogik/isop
 private string DescriptionAndHelp(ArgumentWithOptions r)
 {
     return r.Help();
 }
コード例 #4
0
 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);
 }