Class BlastRadius
Represents the estimated impact scope of a mutation. Used to describe the blast radius—i.e., the potential extent and severity of changes a mutation can have on the system, modules, or entities.
Inherited Members
Namespace: ModularityKit.Mutator.Abstractions.Intent
Assembly: ModularityKit.Mutator.dll
Syntax
public sealed class BlastRadius
Properties
| Edit this page View SourceDescription
A human-readable description of the expected impact of this mutation. Can include contextual details or limitations of the blast radius.
Declaration
public string? Description { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
EstimatedAffectedCount
Estimated number of elements or entities that could be affected by this mutation. Useful for risk assessment and auditing.
Declaration
public int? EstimatedAffectedCount { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
Global
Creates a blast radius affecting multiple systems or globally.
Declaration
public static BlastRadius Global { get; }
Property Value
| Type | Description |
|---|---|
| BlastRadius |
Module
Creates a blast radius affecting an entire module.
Declaration
public static BlastRadius Module { get; }
Property Value
| Type | Description |
|---|---|
| BlastRadius |
Scope
The scope of the blast radius. Determines whether the mutation affects a single element, a module, the system, or globally.
Declaration
public BlastRadiusScope Scope { get; init; }
Property Value
| Type | Description |
|---|---|
| BlastRadiusScope |
Single
Creates a blast radius with a single-element scope.
Declaration
public static BlastRadius Single { get; }
Property Value
| Type | Description |
|---|---|
| BlastRadius |
System
Creates a blast radius affecting the entire system.
Declaration
public static BlastRadius System { get; }
Property Value
| Type | Description |
|---|---|
| BlastRadius |