ValidationContext

ValidationContext

Validation context for rule-based validation

Project: GridPlacement v6.0
Layer: Core
Source: Core/_incomplete/Validation/IValidator.cs
Namespace: GridBuilding.Core.Systems.Validation
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Properties

Data

Additional context data

Options

Validation options

Parent

Parent validation context (for nested validations)

Methods

GetValue

Gets a value from the context data

Returns: T

Parameters:

  • string key
  • T defaultValue

SetValue

Sets a value in the context data

Returns: void

Parameters:

  • string key
  • T value