ContractTemplates.OnStringLengthContractViolated Method
OnStringLengthContractViolated(Object, Int32, Int32)
Template used by the StringLengthAttribute contract when both the lower and the upper bounds are specified.
Declaration
[Template]
public virtual void OnStringLengthContractViolated(dynamic value, int minimumLength, int maximumLength)
Parameters
Type | Name | Description |
---|---|---|
Object | value | |
Int32 | minimumLength | |
Int32 | maximumLength |