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

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

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

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

Construct an instance.

ParameterContractException ( string typeName, string methodName, string parameterName, string error ) : System

Construct an instance.

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

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

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

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

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