Class ValidationInfo
Represents an informational message encountered during mutation or state validation. Infos are non-critical and serve purely as guidance or context for developers/operators.
Inherited Members
Namespace: ModularityKit.Mutator.Abstractions.Results
Assembly: ModularityKit.Mutator.dll
Syntax
public sealed class ValidationInfo
Remarks
Constructs a new ValidationInfo instance.
Constructors
| Edit this page View SourceValidationInfo(string, string)
Represents an informational message encountered during mutation or state validation. Infos are non-critical and serve purely as guidance or context for developers/operators.
Declaration
public ValidationInfo(string path, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | Path to the property or concept for this informational message. |
| string | message | The informational message. |
Remarks
Constructs a new ValidationInfo instance.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
Properties
| Edit this page View SourceMessage
Human-readable informational message. Should provide context or explanation without indicating an error or warning.
Declaration
public string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
Path
Path to the property, field, or concept related to the information. Examples: "Wallet.Balance", "Owner.Address.City".
Declaration
public string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
Methods
| Edit this page View SourceToString()
Returns a string representation of the info, including the info tag, path, and message.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A human-readable string describing the informational message. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |