コード例 #1
0
ファイル: ArgumentParser.cs プロジェクト: 2hdddg/isop
 public ParsedArguments Merge(ParsedArguments args)
 {
     return Merge(this,args);
 }
コード例 #2
0
ファイル: ArgumentParser.cs プロジェクト: 2hdddg/isop
 /// <summary>
 /// 
 /// </summary>
 /// <param name="parsedArguments"></param>
 public ParsedArguments(ParsedArguments parsedArguments)
 {
     RecognizedArguments = parsedArguments.RecognizedArguments;
     ArgumentWithOptions = parsedArguments.ArgumentWithOptions;
     UnRecognizedArguments = parsedArguments.UnRecognizedArguments;
 }
コード例 #3
0
ファイル: ArgumentParser.cs プロジェクト: 2hdddg/isop
 public static ParsedArguments Merge(ParsedArguments first, ParsedArguments second)
 {
     return new MergedParsedArguments(first,second);
 }
コード例 #4
0
ファイル: ArgumentParser.cs プロジェクト: 2hdddg/isop
 public MergedParsedArguments(ParsedArguments first, ParsedArguments second)
 {
     this.first = first;
     this.second = second;
     this.RecognizedArguments = first.RecognizedArguments.Union(second.RecognizedArguments);
     this.ArgumentWithOptions = first.ArgumentWithOptions.Union(second.ArgumentWithOptions);
     this.UnRecognizedArguments = first.UnRecognizedArguments.Intersect(second.UnRecognizedArguments);
 }