PostSharp6.4/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
  NameDescription
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from RangeAttribute.)
Protected methodCompileTimeValidate(LocationInfo)
Validates that the current aspect has been applied to a valid location.
(Inherited from LocationContractAttribute.)
Protected methodCreateArgumentException Obsolete.
Creates an ArgumentException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected methodCreateArgumentNullException Obsolete.
Creates an ArgumentNullException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected methodCreateArgumentOutOfRangeException Obsolete.
Creates an ArgumentOutOfRangeException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected methodCreateException (Overrides RangeAttribute.CreateException(Object, String, LocationKind, LocationValidationContext).)
Protected methodCreatePostconditionFailedException Obsolete.
Creates an PostconditionFailedException with an error message formatted from ErrorMessage and given concrete values.
(Inherited from LocationContractAttribute.)
Protected methodFormatErrorMessage Obsolete.
Formats the ErrorMessage with concrete values.
(Inherited from LocationContractAttribute.)
Protected methodGetErrorMessage Obsolete.
Gets unformatted error message as defined by the instance.
(Overrides RangeAttribute.GetErrorMessage().)
Protected methodGetErrorMessageArguments Obsolete.
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().)
Public methodRuntimeInitialize
Initializes the aspect at runtime.
(Inherited from LocationContractAttribute.)
Protected methodSelectSelfOrNothing
A pointcut that selects the target location of the current aspect, unless the target location is a dependency property or an attached property.
(Inherited from LocationContractAttribute.)
Public methodValidateValueDynamic
Validates a weakly-typed (boxed) value, typically the value of a dependency property or an attached property.
(Inherited from RangeAttribute.)
See Also