Class PlaceableValidationResult
- Namespace
- MoonBark.GridPlacement.Core.Catalog
- Assembly
- MoonBark.GridPlacement.Core.dll
Result of a placeable validation operation.
public class PlaceableValidationResult
- Inheritance
-
PlaceableValidationResult
- Inherited Members
Properties
Errors
List of validation errors.
public List<string> Errors { get; set; }
Property Value
HasErrors
Whether the placeable has any errors.
public bool HasErrors { get; }
Property Value
HasWarnings
Whether the placeable has any warnings.
public bool HasWarnings { get; }
Property Value
IsValid
Whether the placeable is valid.
public bool IsValid { get; set; }
Property Value
Warnings
List of validation warnings.
public List<string> Warnings { get; set; }
Property Value
Methods
AddError(string)
Adds an error to the validation result.
public void AddError(string error)
Parameters
errorstring
AddWarning(string)
Adds a warning to the validation result.
public void AddWarning(string warning)
Parameters
warningstring