C# Класс Pathoschild.DesignByContract.ReturnValueContractException

The exception that is thrown when a value provided to a method parameter or property setter violations its contract.
Наследование: System.InvalidOperationException
Показать файл Открыть проект

Открытые методы

Метод Описание
ReturnValueContractException ( ReturnValueMetadata parameter, string error ) : System

Construct an instance.

ReturnValueContractException ( string typeName, string methodName, string error ) : System

Construct an instance.

Описание методов

ReturnValueContractException() публичный Метод

Construct an instance.
public ReturnValueContractException ( ReturnValueMetadata parameter, string error ) : System
parameter Pathoschild.DesignByContract.Framework.ReturnValueMetadata The validated parameter.
error string The brief description of the contract violation.
Результат System

ReturnValueContractException() публичный Метод

Construct an instance.
public ReturnValueContractException ( string typeName, string methodName, string error ) : System
typeName string The name of the type.
methodName string The name of the method.
error string The brief description of the contract violation.
Результат System