PostSharpAPI ReferencePost­Sharp.​Patterns.​ContractsDefault­Contract­Exception­Factory
Open sandboxFocus

Class DefaultContractExceptionFactory

Default implementation of ContractExceptionFactory.

Inheritance
DefaultContractExceptionFactory
Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Common.dll
Syntax
public class DefaultContractExceptionFactory : ContractExceptionFactory

Constructors

Name Description
DefaultContractExceptionFactory()

Initializes an instance of DefaultContractExceptionFactory.

DefaultContractExceptionFactory(ContractExceptionFactory)

Initializes an instance of DefaultContractExceptionFactory.

Methods

Name Description
CreateException(ContractExceptionInfo)

Base class for contract exception factories. Implements chain of responsibility between concrete exception factories.