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); }
public ParsedMethod(ParsedArguments parsedArguments, TypeContainer typeContainer, Configuration configuration) : base(parsedArguments) { _typeContainer = typeContainer; _configuration = configuration; }
public ParsedArguments Merge(ParsedArguments args) { return Merge(this, args); }
public static ParsedArguments Merge(ParsedArguments first, ParsedArguments second) { return new MergedParsedArguments(first, second); }
/// <summary> /// /// </summary> /// <param name="parsedArguments"></param> public ParsedArguments(ParsedArguments parsedArguments) { RecognizedArguments = parsedArguments.RecognizedArguments; ArgumentWithOptions = parsedArguments.ArgumentWithOptions; UnRecognizedArguments = parsedArguments.UnRecognizedArguments; }