Skip to content
ModularityKit.Mutator ModularityKit.Mutator Docs
  • Home
  • Core
  • Governance
  • Redis
  • API
Search Results for

    Show / Hide Table of Contents

    Class MutationHistoryEntry

    Represents a single mutation event in the history of a state object.

    Inheritance
    object
    MutationHistoryEntry
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ModularityKit.Mutator.Abstractions.History
    Assembly: ModularityKit.Mutator.dll
    Syntax
    public sealed class MutationHistoryEntry
    Remarks

    Each MutationHistoryEntry captures the details of a single mutation, including its intent, context, state changes, side effects, execution timing, and integrity hashes. This class is used by MutationHistory to store a chronological sequence of mutations.

    Properties

    | Edit this page View Source

    Changes

    Set of changes applied by this mutation.

    Declaration
    public ChangeSet Changes { get; init; }
    Property Value
    Type Description
    ChangeSet
    | Edit this page View Source

    Context

    Contextual information about the mutation execution.

    Declaration
    public MutationContext Context { get; init; }
    Property Value
    Type Description
    MutationContext
    | Edit this page View Source

    ExecutionId

    Unique identifier for the execution of this mutation.

    Declaration
    public string ExecutionId { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ExecutionTime

    Duration of the mutation execution.

    Declaration
    public TimeSpan ExecutionTime { get; init; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    Intent

    The intent behind the mutation.

    Declaration
    public MutationIntent Intent { get; init; }
    Property Value
    Type Description
    MutationIntent
    | Edit this page View Source

    NewStateHash

    Hash of the state after the mutation (used for integrity checks).

    Declaration
    public string? NewStateHash { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    PreviousStateHash

    Hash of the state before the mutation (used for integrity checks).

    Declaration
    public string? PreviousStateHash { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SideEffects

    Side effects produced by this mutation.

    Declaration
    public IReadOnlyList<SideEffect> SideEffects { get; init; }
    Property Value
    Type Description
    IReadOnlyList<SideEffect>
    | Edit this page View Source

    StateId

    Identifier of the state this mutation was applied to.

    Declaration
    public string StateId { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Timestamp

    Timestamp indicating when the mutation occurred.

    Declaration
    public DateTimeOffset Timestamp { get; init; }
    Property Value
    Type Description
    DateTimeOffset
    • Edit this page
    • View Source
    In this article
    ModularityKit.Mutator Generated from XML docs and published from main. Back to top