Enumerates the possible contexts in which the location validation advices can be invoked.
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public enum LocationValidationContext
Remarks
This enumeration can be passed as an argument to the method marked with the LocationValidationAdvice attribute.
Fields
Name | Description |
---|---|
None | None. |
Precondition | The value is being validated on method entry. |
SuccessPostcondition | The value is being validated just before the method successfully returns. |