ValidateInboundReferences<TValidator>(Func<TDeclaration, TValidator>)
Registers a reference validator, provided by a delegate that provides an instance of the ReferenceValidator abstract class. The reference validator will be invoked to validate references to any declaration in the current set. Only source code references are validated. References added by aspects are ignored by design.
Declaration
void ValidateInboundReferences<TValidator>(Func<out TDeclaration, TValidator> validator) where TValidator : InboundReferenceValidator
Parameters
Type | Name | Description |
---|---|---|
Func<TDeclaration, TValidator> | validator |
Type Parameters
Name | Description |
---|---|
TValidator |