In Metalama, use an aspect or a fabric, and register a reference validator using the Metalama.Extensions.Validation.ReferenceValidationQueryExtensions.ValidateInboundReferences
method.
Namespace: PostSharp.Constraints
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use an aspect or a fabric, and register a reference validator using the <c>Metalama.Extensions.Validation.ReferenceValidationQueryExtensions.ValidateInboundReferences</c> method.", false)]
public interface IConstraint
Methods
Name | Description |
---|---|
ValidateConstraint(object) |