FSharp.Core


ArrayCollector<'T> Type

Collects elements and builds an array

Record fields

Record Field Description

Count

Full Usage: Count

Field type: int
Modifiers: mutable
Field type: int

First

Full Usage: First

Field type: 'T
Modifiers: mutable
Field type: 'T

ResizeArray

Full Usage: ResizeArray

Field type: ResizeArray<'T>
Modifiers: mutable
Field type: ResizeArray<'T>

Second

Full Usage: Second

Field type: 'T
Modifiers: mutable
Field type: 'T

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
    value : 'T

Add an element to the collector

value : 'T

this.AddMany

Full Usage: this.AddMany

Parameters:
    values : seq<'T>

Add multiple elements to the collector

values : seq<'T>

this.AddManyAndClose

Full Usage: this.AddManyAndClose

Parameters:
    values : seq<'T>

Returns: 'T[]

Add multiple elements to the collector and return the resulting array

values : seq<'T>
Returns: 'T[]

this.Close

Full Usage: this.Close

Returns: 'T[]

Return the resulting list

Returns: 'T[]