Class ProtoTestTrace

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll
public sealed record ProtoTestTrace : IEquatable<ProtoTestTrace>
Inheritance
ProtoTestTrace
Implements
Inherited Members
Extension Methods

Constructors

ProtoTestTrace(string, string, string?, string, DateTimeOffset, TimeSpan, ProtoTraceOutcome, ProtoTraceError?, IReadOnlyList<ProtoTraceEntry>, IReadOnlyList<ProtoTraceArtifact>, IReadOnlyList<ProtoTraceEntity>?, IReadOnlyList<ProtoTraceValue>?, ProtoTraceRecord?)

public ProtoTestTrace(string TestId, string Name, string? ClassName, string MethodName, DateTimeOffset StartedAtUtc, TimeSpan Duration, ProtoTraceOutcome Outcome, ProtoTraceError? Error, IReadOnlyList<ProtoTraceEntry> Entries, IReadOnlyList<ProtoTraceArtifact> Artifacts, IReadOnlyList<ProtoTraceEntity>? Entities = null, IReadOnlyList<ProtoTraceValue>? Values = null, ProtoTraceRecord? Record = null)

Parameters

TestId string
Name string
ClassName string
MethodName string
StartedAtUtc DateTimeOffset
Duration TimeSpan
Outcome ProtoTraceOutcome
Error ProtoTraceError
Entries IReadOnlyList<ProtoTraceEntry>
Artifacts IReadOnlyList<ProtoTraceArtifact>
Entities IReadOnlyList<ProtoTraceEntity>
Values IReadOnlyList<ProtoTraceValue>
Record ProtoTraceRecord

Properties

Artifacts

public IReadOnlyList<ProtoTraceArtifact> Artifacts { get; init; }

Property Value

IReadOnlyList<ProtoTraceArtifact>

ClassName

public string? ClassName { get; init; }

Property Value

string

Duration

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

Entities

public IReadOnlyList<ProtoTraceEntity>? Entities { get; init; }

Property Value

IReadOnlyList<ProtoTraceEntity>

Entries

public IReadOnlyList<ProtoTraceEntry> Entries { get; init; }

Property Value

IReadOnlyList<ProtoTraceEntry>

Error

public ProtoTraceError? Error { get; init; }

Property Value

ProtoTraceError

MethodName

public string MethodName { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

Outcome

public ProtoTraceOutcome Outcome { get; init; }

Property Value

ProtoTraceOutcome

Record

public ProtoTraceRecord? Record { get; init; }

Property Value

ProtoTraceRecord

StartedAtUtc

public DateTimeOffset StartedAtUtc { get; init; }

Property Value

DateTimeOffset

TestId

public string TestId { get; init; }

Property Value

string

Values

public IReadOnlyList<ProtoTraceValue>? Values { get; init; }

Property Value

IReadOnlyList<ProtoTraceValue>