Class ProtoTraceEntity
The current state of one thing the run composed: a client, context, resource, server or capability. Entities are state, not history: an entity appears once in the artifact with its latest state and its versions, and entries refer to it by EntityId.
public sealed record ProtoTraceEntity : IEquatable<ProtoTraceEntity>
- Inheritance
-
ProtoTraceEntity
- Implements
- Inherited Members
- Extension Methods
Constructors
ProtoTraceEntity(string, string, string, string?, DateTimeOffset, DateTimeOffset, IReadOnlyDictionary<string, string?>, IReadOnlyList<ProtoTraceVersion>?)
The current state of one thing the run composed: a client, context, resource, server or capability. Entities are state, not history: an entity appears once in the artifact with its latest state and its versions, and entries refer to it by EntityId.
public ProtoTraceEntity(string Id, string Kind, string Name, string? Scope, DateTimeOffset FirstSeenUtc, DateTimeOffset LastSeenUtc, IReadOnlyDictionary<string, string?> State, IReadOnlyList<ProtoTraceVersion>? Versions = null)
Parameters
IdstringKindstringNamestringScopestringFirstSeenUtcDateTimeOffsetLastSeenUtcDateTimeOffsetStateIReadOnlyDictionary<string, string>VersionsIReadOnlyList<ProtoTraceVersion>
Properties
FirstSeenUtc
public DateTimeOffset FirstSeenUtc { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
Kind
public string Kind { get; init; }
Property Value
LastSeenUtc
public DateTimeOffset LastSeenUtc { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Scope
public string? Scope { get; init; }
Property Value
State
public IReadOnlyDictionary<string, string?> State { get; init; }
Property Value
Versions
public IReadOnlyList<ProtoTraceVersion>? Versions { get; init; }