Click or drag to resize

FailureBuilder Class

A builder class for creating immutable Failure objects e.g. for testing purposes.
Inheritance Hierarchy
SystemObject
  DegreeDays.ApiFailureBuilder

Namespace: DegreeDays.Api
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public sealed class Builder

The FailureBuilder type exposes the following members.

Constructors
 NameDescription
Public methodFailureBuilderInitializes a new instance of the FailureBuilder class
Top
Methods
 NameDescription
Public methodBuild 
Public methodSetCode 
Public methodSetMessage 
Top
Thread Safety
Instances of this builder class are designed for single-threaded use only. It's fine to create and use instances in multiple concurrent threads, but, in the absence of external synchronization, the use of each individual builder instance should be restricted to one thread only.
See Also