Enum MutationMode
Defines the execution mode of a mutation. Specifies how the mutation should be processed: simulated, validated, or committed.
Namespace: ModularityKit.Mutator.Abstractions.Context
Assembly: ModularityKit.Mutator.dll
Syntax
public enum MutationMode
Fields
| Name | Description |
|---|---|
| Commit | Commit mode. Applies the mutation to the target state, performing the actual change. Use for production execution. |
| Simulate | Simulation mode. Executes a dry-run of the mutation without applying any actual changes. Useful for testing, previewing effects, or estimating blast radius. |
| Validate | Validation mode. Checks whether the mutation is valid and allowed, but does not apply it. Useful for pre-flight checks or policy enforcement. |