Table of Contents

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

List<string>

HasErrors

Whether the placeable has any errors.

public bool HasErrors { get; }

Property Value

bool

HasWarnings

Whether the placeable has any warnings.

public bool HasWarnings { get; }

Property Value

bool

IsValid

Whether the placeable is valid.

public bool IsValid { get; set; }

Property Value

bool

Warnings

List of validation warnings.

public List<string> Warnings { get; set; }

Property Value

List<string>

Methods

AddError(string)

Adds an error to the validation result.

public void AddError(string error)

Parameters

error string

AddWarning(string)

Adds a warning to the validation result.

public void AddWarning(string warning)

Parameters

warning string