Deedle


SeriesBuilder<'K, 'V>

Namespace: Deedle

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:

1: 
2: 
var s = new SeriesBuilder<string, double>
  { { "A", 1.0 }, { "B", 2.0 }, { "C", 3.0 } }.Series;

The type also supports the dynamic operator:

1: 
2: 
3: 
dynamic sb = new SeriesBuilder<string, obj>();
sb.ID = 1;
sb.Value = 3.4;
Multiple items
val string : value:'T -> string

Full name: Microsoft.FSharp.Core.Operators.string

--------------------
type string = System.String

Full name: Microsoft.FSharp.Core.string
Multiple items
val double : value:'T -> float (requires member op_Explicit)

Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.double

--------------------
type double = System.Double

Full name: Microsoft.FSharp.Core.double
type obj = System.Object

Full name: Microsoft.FSharp.Core.obj

Constructors

ConstructorDescription
new()
Signature: unit -> SeriesBuilder<'K,'V>

Instance members

Instance memberDescription
Add(key, value)
Signature: (key:'K * value:'V) -> unit

Add specified key and value to the series being build

Series
Signature: 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.

Static members

Static memberDescription
( ?<- )(builder, name, value)
Signature: (builder:SeriesBuilder<string,'V> * name:string * value:'V) -> unit
Fork me on GitHub