Table of Contents

Class Builder<T>

Abstract base class for the Builder pattern. Extend this class and add fluent setter methods to construct complex objects step-by-step, keeping construction logic separate from the product class itself.

public abstract class Builder<T> : IBuilder<T>

Type Parameters

T

The type of object being built.

Inheritance
Builder<T>
Implements
Derived
Inherited Members

Methods

Build()

Finalises and returns the constructed object.

public abstract T Build()

Returns

T