public ComparisonResult(ComparisonResultKind kind, IModelNode pattern, IEnumerable <IModelNode> matches) { Kind = kind; Pattern = pattern; Matches = matches == null ? null : matches.AsArray(); }
public ComparisonResult(ComparisonResultKind kind, IModelNode pattern, IEnumerable<IModelNode> matches) { Kind = kind; Pattern = pattern; Matches = matches == null ? null : matches.AsArray(); }
public ComparisonResult(ComparisonResultKind kind, IModelNode pattern, params IModelNode[] matches) : this(kind, pattern, matches == null ? null : matches.AsEnumerable()) { }