Header menu logo 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 : 'T seq

Add multiple elements to the collector

values : 'T seq

this.AddManyAndClose

Full Usage: this.AddManyAndClose

Parameters:
    values : 'T seq

Returns: 'T array

Add multiple elements to the collector and return the resulting array

values : 'T seq
Returns: 'T array

this.Close

Full Usage: this.Close

Returns: 'T array

Return the resulting list

Returns: 'T array

Type something to start searching.