Open sandboxFocus

Method OnRequiredContractViolated

OnRequiredContractViolated(dynamic?, ContractContext)

Template used by the RequiredAttribute contract when the value is null.

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