Title here
Summary here
A destination in memory - it will store all data in a collection that you assign to the Data property. By default, a List is used to store th data. If you need to access the data concurrently while rows are still written into the target, see the ConcurrentMemoryDestination.
public class MemoryDestination<TInput> : DataFlowDestination<TInput>, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask| Name | Description |
|---|---|
| TInput | Type of ingoing data. |
MemoryDestination<MySimpleRow> dest = new MemoryDestination<MySimpleRow>();
//data is accessible in dest.Data public MemoryDestination() public bool ClearDataOnStart { get; set; }| Type | Description |
|---|---|
| bool |
The generic List<T> that will store all rows of incoming data in memory.
public ICollection<TInput> Data { get; set; }| Type | Description |
|---|---|
| ICollection<TInput> |
protected virtual void AddData(TInput row)| Type | Name | Description |
|---|---|---|
| TInput | row |
protected override void CheckParameter() protected override void CleanUpOnFaulted(Exception e)| Type | Name | Description |
|---|---|---|
| Exception | e |
protected override void CleanUpOnSuccess() protected override void InitComponent() protected override void Reset()