NegativeAttribute Methods |
The NegativeAttribute type exposes the following members.

Name | Description | |
---|---|---|
![]() | CompileTimeValidate(Object) |
Method invoked at build time to ensure that the aspect has been applied to
the right target.
(Inherited from RangeAttribute.) |
![]() | CompileTimeValidate(LocationInfo) | (Inherited from LocationContractAttribute.) |
![]() | CreateArgumentException |
Creates an ArgumentException with an error message formatted from ErrorMessage and
given concrete values.
(Inherited from LocationContractAttribute.) |
![]() | CreateArgumentNullException |
Creates an ArgumentNullException with an error message formatted from ErrorMessage and
given concrete values.
(Inherited from LocationContractAttribute.) |
![]() | CreateArgumentOutOfRangeException |
Creates an ArgumentOutOfRangeException with an error message formatted from ErrorMessage and
given concrete values.
(Inherited from LocationContractAttribute.) |
![]() | CreatePostconditionFailedException |
Creates an PostconditionFailedException with an error message formatted from ErrorMessage and
given concrete values.
(Inherited from LocationContractAttribute.) |
![]() | FormatErrorMessage |
Formats the ErrorMessage with concrete values.
(Inherited from LocationContractAttribute.) |
![]() | GetErrorMessage |
Gets unformatted error message as defined by the instance.
(Inherited from LessThanAttribute.) |
![]() | GetErrorMessageArguments |
Gets values of additional arguments for error message associated with particular instance of LocationContractAttribute.
There arguments can be referenced from error message string by {4}, {5} and so on.
(Inherited from LessThanAttribute.) |
![]() | RuntimeInitialize | (Inherited from LocationContractAttribute.) |
![]() | SelectSelfOrNothing | (Inherited from LocationContractAttribute.) |
![]() | ValidateValueDynamic | (Inherited from RangeAttribute.) |

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
