Validator<TContext> Class
A base class for validators.
Implements
Namespace: Metalama.Framework.Validation
Assembly: Metalama.Framework.dll
Syntax
public abstract class Validator<TContext> : ICompileTimeSerializable where TContext : struct
Type Parameters
Name | Description |
---|---|
TContext | Type of context i.e. ReferenceValidationContext. |
Methods
Name | Description |
---|---|
Validate(in TContext) | Validates the current declaration or reference. |