ContractTemplates.OnStringMinLengthContractViolated Method
OnStringMinLengthContractViolated(dynamic?, int, ContractContext)
Template used by the StringLengthAttribute contract when only the lower bound is specified.
Declaration
[Template]
public virtual void OnStringMinLengthContractViolated(dynamic? value, int minimumLength, ContractContext context)
Parameters
Type | Name | Description |
---|---|---|
dynamic | value | |
int | minimumLength | |
ContractContext | context |