PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Strictly­Less­Than­Attribute Class / Strictly­Less­Than­Attribute Methods
StrictlyLessThanAttribute Methods

The StrictlyLessThanAttribute type exposes the following members.

Methods
  Name Description
Public method CompileTimeValidate
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from RangeAttribute.)
Protected method CreateArgumentException
Creates an ArgumentException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected method CreateArgumentNullException
Creates an ArgumentNullException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected method CreateArgumentOutOfRangeException
Creates an ArgumentOutOfRangeException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected method CreatePostconditionFailedException
Creates an PostconditionFailedException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected method FormatErrorMessage
Formats the ErrorMessage with concrete values.
(Inherited from LocationContractAttribute.)
Protected method GetErrorMessage
Gets unformatted error message as defined by the instance.
(Overrides RangeAttribute.GetErrorMessage().)
Protected method 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.
(Overrides RangeAttribute.GetErrorMessageArguments().)
Extension Methods
  Name Description
Public Extension Method QueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also