Table of Contents

Class DomainBuilder

Namespace
xFunc.Maths.Expressions.Domains
Assembly
xFunc.Maths.dll

The builder for DomainRange.

public class DomainBuilder
Inheritance
DomainBuilder
Inherited Members

Constructors

DomainBuilder(int)

Initializes a new instance of the DomainBuilder class.

public DomainBuilder(int rangeCount)

Parameters

rangeCount int

The amount of ranges to build.

Methods

AddRange(Action<DomainRangeBuilder>)

Adds a range to the domain.

public DomainBuilder AddRange(Action<DomainRangeBuilder> configuration)

Parameters

configuration Action<DomainRangeBuilder>

The delegate to configure the domain range.

Returns

DomainBuilder

The builder.

Exceptions

InvalidOperationException

The amount of added ranges exceeded the amount specified on the builder creation.

Build()

Builds the domain of the function.

public Domain Build()

Returns

Domain

The domain of the function.