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

DefaultContractExceptionFactory Class

Default implementation of ContractExceptionFactory.
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 class DefaultContractExceptionFactory : ContractExceptionFactory

The DefaultContractExceptionFactory type exposes the following members.

Constructors
  NameDescription
Public methodDefaultContractExceptionFactory()
Initializes an instance of DefaultContractExceptionFactory.
Public methodDefaultContractExceptionFactory(ContractExceptionFactory)
Initializes an instance of DefaultContractExceptionFactory.
Methods
  NameDescription
Public methodCreateException
Base class for contract exception factories. Implements chain of responsibility between concrete exception factories.
(Overrides ContractExceptionFactory.CreateException(ContractExceptionInfo).)
See Also