예제 #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);
 }