Post­Sharp Documentation / API Reference / Post­Sharp.​Constraints Namespace / Parameter­Value­Constraint Class / Parameter­Value­Constraint Methods

ParameterValueConstraint Methods

The ParameterValueConstraint type exposes the following members.

Protected methodValidateParameterValue
Validates the value passed to the parameter.
Protected methodValidateTargetParameter
Validates the parameter to which the current constraint has been applied. A typical use of this method is to validate the parameter type. Overriding implementations should call the base implementation.
Extension Methods
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also