ManagedResourceIntroductionAspect.IValidableAnnotation.CompileTimeValidate Method
IValidableAnnotation.CompileTimeValidate(Object)
In Metalama, validation is done in BuildEligibility(IEligibilityBuilder<T>) and BuildAspect(IAspectBuilder<T>).
The equivalent of returning false
is to call SkipAspect().
Declaration
bool IValidableAnnotation.CompileTimeValidate(object target)
Parameters
Type | Name | Description |
---|---|---|
System.Object | target |
Returns
Type | Description |
---|---|
System.Boolean |