Open sandboxFocus

Method OnRangeContractViolated

OnRangeContractViolated(dynamic?, NumericRange, ContractContext)

Template used by the RangeAttribute contract.

Declaration
[Template]
public virtual void OnRangeContractViolated(dynamic? value, NumericRange range, ContractContext context)
Parameters
Type Name Description
dynamic value
NumericRange range
ContractContext context