PostSharp.ILAPI ReferencePost­Sharp.​ExtensibilityIValidable­Annotation
Open sandboxFocus

IValidableAnnotation Interface

Interface that, when implemented by a custom attribute (Attribute), causes PostSharp to invoke a validation method for every instance of that custom attribute.

Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
[RequirePostSharp(null, "ValidateAnnotations")]
public interface IValidableAnnotation

Methods

Name Description
CompileTimeValidate(Object)

Method invoked at build time to ensure that the aspect has been applied to the right target.