Open sandboxFocus

Delegate ValidatorDelegate<TContext>

A delegate for validator methods. The TContext type argument can be either DeclarationValidationContext or ReferenceValidationContext.

Namespace: Metalama.Framework.Validation
Assembly: Metalama.Framework.dll
Syntax
public delegate void ValidatorDelegate<TContext>(in TContext context)
Parameters
Type Name Description
TContext context A delegate for validator methods. The TContext type argument can be either or .
Type Parameters
Name Description
TContext

Either DeclarationValidationContext or ReferenceValidationContext.

Constructors

Name Description
ValidatorDelegate(object, nint)

Methods

Name Description
BeginInvoke(in TContext, AsyncCallback, object)
EndInvoke(in TContext, IAsyncResult)
Invoke(in TContext)

Extension Methods

See Also