PostSharpAPI ReferencePost­Sharp.​ConstraintsReferential­ConstraintValidate­Code
Open sandboxFocus

ReferentialConstraint.ValidateCode Method

ValidateCode(Object, Assembly)

Validates the constraint.

Declaration
public virtual void ValidateCode(object target, Assembly assembly)
Parameters
Type Name Description
Object target

Declaration (Assembly, System.Type, MethodInfo, ConstructorInfo, System.Reflection.PropertyInfo, EventInfo, System.Reflection.FieldInfo, ParameterInfo) to which the constraint has been applied.

Assembly assembly

The assembly being currently processed.

Implements
IReferentialConstraint.ValidateCode(Object, Assembly)