Class StateChangeTimeline
Represents a single point in the timeline of a state change.
Inherited Members
Namespace: ModularityKit.Mutator.Abstractions.History
Assembly: ModularityKit.Mutator.dll
Syntax
public sealed class StateChangeTimeline
Remarks
Each StateChangeTimeline links a StateChange to its execution context, including the mutation execution ID, the actor responsible, and an optional reason. This allows tracing and auditing how a specific path or property in the state evolved over time.
Properties
| Edit this page View SourceActorId
Identifier of the actor who triggered the mutation.
Declaration
public string? ActorId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Change
The state change that occurred.
Declaration
public StateChange Change { get; init; }
Property Value
| Type | Description |
|---|---|
| StateChange |
ExecutionId
Unique identifier of the mutation execution that produced this change.
Declaration
public string ExecutionId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Reason
Optional human-readable reason for the change.
Declaration
public string? Reason { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Timestamp
Timestamp when the change occurred.
Declaration
public DateTimeOffset Timestamp { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |