Show / Hide Table of Contents

Interface IBuildable<TSelf, TBuilder>

Represents builder pattern contract.

Namespace: DotNext.Patterns
Assembly: DotNext.dll
Syntax
public interface IBuildable<out TSelf, out TBuilder> where TSelf : IBuildable<out TSelf, out TBuilder> where TBuilder : ISupplier<out TSelf>, IResettable
Type Parameters
Name Description
TSelf

The type that can be constructed using builder pattern.

TBuilder

The type of the builder.

Methods

| Edit this page View Source

CreateBuilder()

Creates a new builder for type TSelf.

Declaration
public static abstract TBuilder CreateBuilder()
Returns
Type Description
TBuilder

A new builder for type TSelf.

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾