Class ProtoTraceRun
The whole run as a .prototrace reads it: every test, plus the run-level entries, entities
and values. FormatVersion tells a reader how to interpret the rest.
public sealed record ProtoTraceRun : IEquatable<ProtoTraceRun>
- Inheritance
-
ProtoTraceRun
- Implements
- Inherited Members
- Extension Methods
Constructors
ProtoTraceRun(string, string, DateTimeOffset, DateTimeOffset?, IReadOnlyList<ProtoTestTrace>, IReadOnlyDictionary<string, string>, IReadOnlyList<ProtoTraceArtifact>?, IReadOnlyList<ProtoTraceEntry>?, IReadOnlyList<ProtoTraceEntity>?, IReadOnlyList<ProtoTraceValue>?, ProtoTraceVisibility?, ProtoTraceRecord?)
The whole run as a .prototrace reads it: every test, plus the run-level entries, entities
and values. FormatVersion tells a reader how to interpret the rest.
public ProtoTraceRun(string FormatVersion, string RunId, DateTimeOffset StartedAtUtc, DateTimeOffset? CompletedAtUtc, IReadOnlyList<ProtoTestTrace> Tests, IReadOnlyDictionary<string, string> Environment, IReadOnlyList<ProtoTraceArtifact>? Artifacts = null, IReadOnlyList<ProtoTraceEntry>? Entries = null, IReadOnlyList<ProtoTraceEntity>? Entities = null, IReadOnlyList<ProtoTraceValue>? Values = null, ProtoTraceVisibility? Visibility = null, ProtoTraceRecord? Record = null)
Parameters
FormatVersionstringRunIdstringStartedAtUtcDateTimeOffsetCompletedAtUtcDateTimeOffset?TestsIReadOnlyList<ProtoTestTrace>EnvironmentIReadOnlyDictionary<string, string>ArtifactsIReadOnlyList<ProtoTraceArtifact>EntriesIReadOnlyList<ProtoTraceEntry>EntitiesIReadOnlyList<ProtoTraceEntity>ValuesIReadOnlyList<ProtoTraceValue>VisibilityProtoTraceVisibilityRecordProtoTraceRecord
Properties
Artifacts
public IReadOnlyList<ProtoTraceArtifact>? Artifacts { get; init; }
Property Value
CompletedAtUtc
public DateTimeOffset? CompletedAtUtc { get; init; }
Property Value
Entities
public IReadOnlyList<ProtoTraceEntity>? Entities { get; init; }
Property Value
Entries
public IReadOnlyList<ProtoTraceEntry>? Entries { get; init; }
Property Value
Environment
public IReadOnlyDictionary<string, string> Environment { get; init; }
Property Value
FormatVersion
public string FormatVersion { get; init; }
Property Value
Record
public ProtoTraceRecord? Record { get; init; }
Property Value
RunId
public string RunId { get; init; }
Property Value
StartedAtUtc
public DateTimeOffset StartedAtUtc { get; init; }
Property Value
Tests
public IReadOnlyList<ProtoTestTrace> Tests { get; init; }
Property Value
Values
public IReadOnlyList<ProtoTraceValue>? Values { get; init; }
Property Value
Visibility
public ProtoTraceVisibility? Visibility { get; init; }