PostSharp6.0/API Reference/Post­Sharp.​Extensibility Namespace/IValidable­Annotation Interface

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 (in PostSharp.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
public interface IValidableAnnotation

The IValidableAnnotation type exposes the following members.

Methods
  NameDescription
Public methodCompileTimeValidate
Method invoked at build time to ensure that the aspect has been applied to the right target.
See Also