C# Class WebApplications.Utilities.Logging.ContractException

Inheritance: LoggingException
Exibir arquivo Open project: webappsuk/CoreLibraries

Private Properties

Property Type Description

Public Methods

Method Description
ContractException ( [ conditions ) : System

Initializes a new instance of the ContractException class. This is used by System.Diagnostics.Contracts.Contract.Requires{ContractException}(bool).

ContractException ( [ conditions, [ message ) : System

Initializes a new instance of the ContractException class. This is used by System.Diagnostics.Contracts.Contract.Requires{ContractException}(bool, string).

Protected Methods

Method Description
ContractException ( [ resourceType, [ resourceProperty, [ conditions ) : System

Initializes a new instance of the ContractException class.

Method Details

ContractException() public method

Initializes a new instance of the ContractException class. This is used by System.Diagnostics.Contracts.Contract.Requires{ContractException}(bool).
public ContractException ( [ conditions ) : System
conditions [ The conditions.
return System

ContractException() public method

Initializes a new instance of the ContractException class. This is used by System.Diagnostics.Contracts.Contract.Requires{ContractException}(bool, string).
public ContractException ( [ conditions, [ message ) : System
conditions [ The conditions.
message [ The tag.
return System

ContractException() protected method

Initializes a new instance of the ContractException class.
protected ContractException ( [ resourceType, [ resourceProperty, [ conditions ) : System
resourceType [ Type of the resource.
resourceProperty [ The resource property.
conditions [ The conditions.
return System