Open sandboxFocus

Interface IValidableAnnotation

Namespace: PostSharp.Extensibility
Assembly: Metalama.Migration.dll
Syntax
[RequirePostSharp(null, "ValidateAnnotations")]
[Obsolete("In Metalama, use 'IAspect<T>' and implement 'IEligible<T>.BuildEligibility(IEligibilityBuilder<T>)' and/or 'IAspect<T>.BuildAspect(IAspectBuilder<T>)'.", false)]
public interface IValidableAnnotation

Methods

Name Description
CompileTimeValidate(object)

In Metalama, validation is done in BuildEligibility(IEligibilityBuilder<T>) and BuildAspect(IAspectBuilder<T>). The equivalent of returning false is to call SkipAspect().

Extension Methods