示例#1
0
 public ParsedArguments Merge(ParsedArguments args)
 {
     return Merge(this,args);
 }
示例#2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="parsedArguments"></param>
 public ParsedArguments(ParsedArguments parsedArguments)
 {
     RecognizedArguments = parsedArguments.RecognizedArguments;
     ArgumentWithOptions = parsedArguments.ArgumentWithOptions;
     UnRecognizedArguments = parsedArguments.UnRecognizedArguments;
 }
示例#3
0
 public static ParsedArguments Merge(ParsedArguments first, ParsedArguments second)
 {
     return new MergedParsedArguments(first,second);
 }
示例#4
0
 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);
 }