Class LocationValidationAdvice
Custom attribute that, when applied on a method of an aspect class, specifies that this method has the same semantic as the ValidateValue(T, String, LocationKind, LocationValidationContext) method of the ILocationValidationAspect<T> interface.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
[RequiresMethodExecutionAdviceAnalysis]
[RequiresDebuggerEnhancement]
public class LocationValidationAdvice : GroupingAdvice
Constructors
Name | Description |
---|---|
LocationValidationAdvice() |
Properties
Name | Description |
---|---|
Priority | Determines a priority for selecting a validation method from a group when more than one method matches the target element type. A method with a lower value has priority over a method with a higher value. |