# CsvRecordAccumulatorBuilder<TAccumulator>

Resolves headers once and builds a callback that updates CSV accumulator state.

Delegate 

`OfficeIMO.CSV`

**Namespace**

`OfficeIMO.CSV`

**Assembly**

`OfficeIMO.CSV`

**Base**

`MulticastDelegate`

**Implements**

`ICloneable` `ISerializable`

**Modifiers**

sealed

Resolves headers once and builds a callback that updates CSV accumulator state.

## Inheritance

- MulticastDelegate
- CsvRecordAccumulatorBuilder<TAccumulator>

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 2

- Method [CsvDocument.AggregateRowsAsParallelAsync``1](/api/csv/officeimo-csv-csvdocument/#method-aggregaterowsasparallelasync-string-func-officeimo-csv-csvrecordaccumulatorbuilder-func-officeimo-csv-csvreaderoptions-officeimo-data-parallelrowmappingoptions-threading-cancellationtoken) parameter `accumulatorBuilder`
- Method [CsvDocument.AggregateTextRowsAsParallel``1](/api/csv/officeimo-csv-csvdocument/#method-aggregatetextrowsasparallel-string-func-officeimo-csv-csvrecordaccumulatorbuilder-func-officeimo-csv-csvreaderoptions-officeimo-data-parallelrowmappingoptions-threading-cancellationtoken) parameter `accumulatorBuilder`

## Type Parameters

**TAccumulator**

Caller-owned accumulator state.

Filter members 

Show inherited

## Constructors

`public CsvRecordAccumulatorBuilder<TAccumulator>(object object, nint method)` [#](#constructor-ctor-object-intptr)

Parameters

**object object required**

**method nint required**

## Methods

`public virtual IAsyncResult BeginInvoke(CsvRecordHeader header, AsyncCallback callback, object object)` [#](#method-begininvoke-csvrecordheader-asynccallback-object)

Parameters

**header CsvRecordHeader required**

**callback AsyncCallback required**

**object object required**

Returns

`IAsyncResult`

`public virtual CsvRecordAccumulator<TAccumulator?> EndInvoke(IAsyncResult result)` [#](#method-endinvoke-iasyncresult)

Parameters

**result IAsyncResult required**

Returns

`CsvRecordAccumulator<TAccumulator?>`

`public virtual CsvRecordAccumulator<TAccumulator?> Invoke(CsvRecordHeader header)` [#](#method-invoke-csvrecordheader)

Parameters

**header CsvRecordHeader required**

Returns

`CsvRecordAccumulator<TAccumulator?>`

## Inherited Methods

`public virtual object Clone()` [#](#method-clone)

Inherited from Delegate

Returns

`object`

`public object? DynamicInvoke(params object?[]? args)` [#](#method-dynamicinvoke-object)

Inherited from Delegate

Parameters

**args object?[]? required**

Returns

`object?`

`public override sealed bool Equals(object? obj)` [#](#method-equals-object)

Inherited from MulticastDelegate

Parameters

**obj object? required**

Returns

`bool`

`public override sealed int GetHashCode()` [#](#method-gethashcode)

Inherited from MulticastDelegate

Returns

`int`

`public override sealed Delegate[] GetInvocationList()` [#](#method-getinvocationlist)

Inherited from MulticastDelegate

Returns

`Delegate[]`

`public override void GetObjectData(SerializationInfo info, StreamingContext context)` [#](#method-getobjectdata-serializationinfo-streamingcontext)

Inherited from MulticastDelegate

`Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")` `EditorBrowsable(1)`

Parameters

**info SerializationInfo required**

**context StreamingContext required**

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Inherited Properties

`public object? Target { get; }` [#](#property-target)

Inherited from Delegate

`public MethodInfo Method { get; }` [#](#property-method)

Inherited from Delegate

<!-- PowerForge markdown artifact sha256:A7874D000BE4AF4C41B6FD69C9E75F1047562266925B4AB26D425CB7D7446A76 -->
