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. |