Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Delegate

CsvRecordAccumulator`1

Namespace OfficeIMO.CSV
Assembly OfficeIMO.CSV
Base MulticastDelegate
Implements
ICloneable ISerializable
Modifiers sealed

Updates an accumulator from one transient CSV record.

Inheritance

  • MulticastDelegate
  • CsvRecordAccumulator`1

Remarks

Callbacks for different partitions can run concurrently. Modify only the supplied state and do not retain the record or its borrowed spans. Reference-type state must be independent for each call to the accumulator factory.

Usage

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

Type Parameters

TAccumulator
Caller-owned accumulator state, including value types.

Constructors

public CsvRecordAccumulator<TAccumulator>(Object object, IntPtr method) #

Parameters

object Object requiredposition: 0
method IntPtr requiredposition: 1

Methods

public virtual IAsyncResult BeginInvoke(ref TAccumulator accumulator, CsvRecord record, AsyncCallback callback, Object object) #
Returns: IAsyncResult

Parameters

accumulator TAccumulator requiredposition: 0
record CsvRecord requiredposition: 1
callback AsyncCallback requiredposition: 2
object Object requiredposition: 3
public virtual Void EndInvoke(ref TAccumulator accumulator, IAsyncResult result) #
Returns: Void

Parameters

accumulator TAccumulator requiredposition: 0
result IAsyncResult requiredposition: 1
public virtual Void Invoke(ref TAccumulator accumulator, CsvRecord record) #
Returns: Void

Parameters

accumulator TAccumulator requiredposition: 0
record CsvRecord requiredposition: 1