Open sandboxFocus

Method ValidateInboundReferences

ValidateInboundReferences<TValidator>(Func<TDeclaration, TTag, 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, out TTag, TValidator> validator) where TValidator : InboundReferenceValidator
Parameters
Type Name Description
Func<TDeclaration, TTag, TValidator> validator
Type Parameters
Name Description
TValidator