Header menu logo Deedle

SeriesBuilder<'K, 'V> Type

The type can be used for creating series using mutation. You can add items using `Add` and get the resulting series using the Series property.

Using from C#: The type supports the C# collection builder pattern: var s = new SeriesBuilder<string, double> { { "A", 1.0 }, { "B", 2.0 }, { "C", 3.0 } }.Series; The type also supports the `dynamic` operator: dynamic sb = new SeriesBuilder<string, obj>(); sb.ID = 1; sb.Value = 3.4;

Constructors

Constructor Description

SeriesBuilder()

Full Usage: SeriesBuilder()

Returns: SeriesBuilder<'K, 'V>
Returns: SeriesBuilder<'K, 'V>

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
    key : 'K
    value : 'V

Add specified key and value to the series being build

key : 'K
value : 'V

this.Series

Full Usage: this.Series

Returns: Series<'K, 'V>

Returns the constructed series. The series is an immutable copy of the current values and so further additions will not change the returned series.

Returns: Series<'K, 'V>

Static members

Static member Description

(?<-) (builder, name, value)

Full Usage: (?<-) (builder, name, value)

Parameters:
builder : SeriesBuilder<string, 'V>
name : string
value : 'V

Type something to start searching.