ValidationResult
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.
Declaration
Summary
Represents the result of a validation operation.
This class contains information about whether a validation succeeded and any issues that were found during validation.
Metadata
Namespace: GridPlacement.Core.Results
Source File: cs/Core/Results/ValidationResult.cs
Assembly: GridPlacement.Core
Type: class
Constructors
ValidationResult
Initializes a new instance of the ValidationResult class.
ValidationResult
Initializes a new instance of the ValidationResult class with a specific success state.
Parameters
| Name | Description |
|---|---|
isSuccessful | Whether the validation is successful. |
Properties
IsSuccessful
Gets whether the validation was successful.
Issues
Gets the list of validation issues.
IsValid
Errors
Warnings
Info
Context
Methods
AddIssue
Adds an issue to the validation result.
Parameters
| Name | Description |
|---|---|
issue | The issue to add. |
AddError
AddWarning
AddInfo
GetIssues
Gets all validation issues.
Returns
A list of validation issues.