Exemple #1
0
 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;
 }
Exemple #3
0
 public EvaluatedPassInfo(EvaluationPass pass, string description, IEnumerable <EvaluatedLocationInfo> locations, TimeInfo time)
 {
     Pass        = pass;
     Description = description;
     Locations   = locations?.ToImmutableArray() ?? ImmutableArray <EvaluatedLocationInfo> .Empty;
     Time        = time;
 }