Class ProtoTraceValue

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

A domain object the run touched - a tenant, project, invoice, message. Values are the data side of the trace: identity plus versions, so a reader can follow how a value changed, not just that it appeared.

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

Constructors

ProtoTraceValue(string, string, string, string?, DateTimeOffset, DateTimeOffset, IReadOnlyList<ProtoTraceVersion>)

A domain object the run touched - a tenant, project, invoice, message. Values are the data side of the trace: identity plus versions, so a reader can follow how a value changed, not just that it appeared.

public ProtoTraceValue(string Id, string Kind, string Name, string? Scope, DateTimeOffset FirstSeenUtc, DateTimeOffset LastSeenUtc, IReadOnlyList<ProtoTraceVersion> Versions)

Parameters

Id string
Kind string
Name string
Scope string
FirstSeenUtc DateTimeOffset
LastSeenUtc DateTimeOffset
Versions IReadOnlyList<ProtoTraceVersion>

Properties

FirstSeenUtc

public DateTimeOffset FirstSeenUtc { get; init; }

Property Value

DateTimeOffset

Id

public string Id { get; init; }

Property Value

string

Kind

public string Kind { get; init; }

Property Value

string

LastSeenUtc

public DateTimeOffset LastSeenUtc { get; init; }

Property Value

DateTimeOffset

Name

public string Name { get; init; }

Property Value

string

Scope

public string? Scope { get; init; }

Property Value

string

Versions

public IReadOnlyList<ProtoTraceVersion> Versions { get; init; }

Property Value

IReadOnlyList<ProtoTraceVersion>