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