Class ProtoTraceVersion

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

One state of a world item, and what produced it. Shared by values and entities.

public sealed record ProtoTraceVersion : IEquatable<ProtoTraceVersion>
Inheritance
ProtoTraceVersion
Implements
Inherited Members
Extension Methods

Constructors

ProtoTraceVersion(string?, string, DateTimeOffset, IReadOnlyDictionary<string, string?>, ProtoTraceValueSource, bool)

One state of a world item, and what produced it. Shared by values and entities.

public ProtoTraceVersion(string? OperationId, string Change, DateTimeOffset AtUtc, IReadOnlyDictionary<string, string?> State, ProtoTraceValueSource Source = ProtoTraceValueSource.TestSide, bool Inferred = false)

Parameters

OperationId string
Change string
AtUtc DateTimeOffset
State IReadOnlyDictionary<string, string>
Source ProtoTraceValueSource
Inferred bool

Properties

AtUtc

public DateTimeOffset AtUtc { get; init; }

Property Value

DateTimeOffset

Change

public string Change { get; init; }

Property Value

string

Inferred

public bool Inferred { get; init; }

Property Value

bool

OperationId

public string? OperationId { get; init; }

Property Value

string

Source

public ProtoTraceValueSource Source { get; init; }

Property Value

ProtoTraceValueSource

State

public IReadOnlyDictionary<string, string?> State { get; init; }

Property Value

IReadOnlyDictionary<string, string>