Struct ResourceMutationEventArgs
Event args for NodeMutated. Raised on Add/Remove; carries the minimal identification needed to invalidate subscribers' caches without forcing a full graph copy.
public readonly struct ResourceMutationEventArgs
- Inherited Members
Properties
Kind
Whether the node was added or removed (Mutated is a reserved forward-compat slot, not raised).
public ResourceMutationKind Kind { get; init; }
Property Value
NodeId
Id of the node that was added or removed.
public string NodeId { get; init; }
Property Value
ParentId
Id of the parent the node was attached to or detached from.
public string ParentId { get; init; }
Property Value
Timestamp
UTC time at which the mutation was raised.
public DateTime Timestamp { get; init; }
Property Value
Type
ResourceType of the affected node.
public ResourceType Type { get; init; }