PostSharpAPI ReferencePost­Sharp.​ConstraintsIScalar­Constraint
Open sandboxFocus

IScalarConstraint Interface

A constraint that validates a specific element of code. Use an IReferentialConstraint to validate relationships between elements of code.

Namespace: PostSharp.Constraints
Assembly: PostSharp.dll
Syntax
public interface IScalarConstraint : IConstraint

Methods

Name Description
ValidateCode(Object)

Validates the element of code to which the constraint is applied.

See Also