예제 #1
0
 public MergedParsedArguments(ParsedArguments first, ParsedArguments second)
     : base()
 {
     _first = first;
     _second = second;
     RecognizedArguments = first.RecognizedArguments.Union(second.RecognizedArguments);
     ArgumentWithOptions = first.ArgumentWithOptions.Union(second.ArgumentWithOptions);
     UnRecognizedArguments = first.UnRecognizedArguments.Intersect(second.UnRecognizedArguments);
 }
예제 #2
0
 public ParsedMethod(ParsedArguments parsedArguments, TypeContainer typeContainer, Configuration configuration)
     : base(parsedArguments)
 {
     _typeContainer = typeContainer;
     _configuration = configuration;
 }
예제 #3
0
 public ParsedArguments Merge(ParsedArguments args)
 {
     return Merge(this, args);
 }
예제 #4
0
 public static ParsedArguments Merge(ParsedArguments first, ParsedArguments second)
 {
     return new MergedParsedArguments(first, second);
 }
예제 #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="parsedArguments"></param>
 public ParsedArguments(ParsedArguments parsedArguments)
 {
     RecognizedArguments = parsedArguments.RecognizedArguments;
     ArgumentWithOptions = parsedArguments.ArgumentWithOptions;
     UnRecognizedArguments = parsedArguments.UnRecognizedArguments;
 }