Click or drag to resize

FailureResponseBuilder Class

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

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

The FailureResponseBuilder type exposes the following members.

Constructors
 NameDescription
Public methodFailureResponseBuilderInitializes a new instance of the FailureResponseBuilder class
Top
Methods
 NameDescription
Public methodBuild 
Public methodSetFailure 
Public methodSetMetadata 
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