Open sandboxFocus

Method OnRequiredContractViolatedBecauseOfEmptyString

OnRequiredContractViolatedBecauseOfEmptyString(dynamic, ContractContext)

Template used by the RequiredAttribute contract when the value is an empty string.

Declaration
[Template]
public virtual void OnRequiredContractViolatedBecauseOfEmptyString(dynamic value, ContractContext context)
Parameters
Type Name Description
dynamic value
ContractContext context