PostSharp6.4/API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Contract­Exception­Factory Class

ContractExceptionFactory Class

Base class for contract exception factories. Implements chain of responsibility between concrete exception factories.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Contracts.ContractExceptionFactory
    PostSharp.Patterns.Contracts.DefaultContractExceptionFactory

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public abstract class ContractExceptionFactory

The ContractExceptionFactory type exposes the following members.

Constructors
  NameDescription
Protected methodContractExceptionFactory
Initialized a new instance of ContractExceptionFactory.
Methods
  NameDescription
Public methodCreateException
Creates the exception based on the contents of ContractExceptionInfo.
See Also