In Metalama, use an aspect or a fabric, and register a reference validator using the Metalama.Extensions.Validation.ReferenceValidationQueryExtensions.ValidateInboundReferences
method.
Inheritance
ScalarConstraint
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 class ScalarConstraint : Constraint, IScalarConstraint, IConstraint
Constructors
Name | Description |
---|---|
ScalarConstraint() |
Methods
Name | Description |
---|---|
ValidateCode(object) |