IReferentialConstraint Interface
In Metalama, use an aspect or a fabric, and register a reference validator using the ValidateReferences<TValidator>(Func<TDeclaration, TValidator>)
method. For instance, from the BuildAspect(IAspectBuilder<T>) method of an aspect, call builder
.(...)
.ValidateReferences<TValidator>(Func<TDeclaration, TValidator>).
Namespace: PostSharp.Constraints
Assembly: Metalama.Migration.dll
Syntax
public interface IReferentialConstraint : IConstraint
Methods
Name | Description |
---|---|
ValidateCode(Object, Assembly) |