public EvaluatedProfileInfo(IEnumerable <EvaluatedPassInfo> passes, TimeInfo evalutionTimeInfo) { Passes = passes.ToImmutableArray(); EvaluationTimeInfo = evalutionTimeInfo; }
public EvaluatedLocationInfo(string elementName, string elementDescription, EvaluationLocationKind kind, string file, int?line, IEnumerable <EvaluatedLocationInfo> children, TimeInfo time) { ElementName = elementName; ElementDescription = elementDescription; Kind = kind; File = file; Line = line; Children = children?.ToImmutableArray() ?? ImmutableArray <EvaluatedLocationInfo> .Empty; Time = time; }
public EvaluatedPassInfo(EvaluationPass pass, string description, IEnumerable <EvaluatedLocationInfo> locations, TimeInfo time) { Pass = pass; Description = description; Locations = locations?.ToImmutableArray() ?? ImmutableArray <EvaluatedLocationInfo> .Empty; Time = time; }