Delegate PersistenceHandler<Tin, Tout>
The delegate provides a generic approach to parse data structures for incoming or outgoing dataflows.
Namespace: TeleScope.Persistence.Abstractions.Handlers
Assembly: TeleScope.Persistence.Abstractions.dll
Syntax
public delegate Tout PersistenceHandler<in Tin, out Tout>(Tin item, int index = 0, int length = 1);
Parameters
Type | Name | Description |
---|---|---|
Tin | item | The current item. |
System.Int32 | index | The index of the element. If there is only a single instance the value is 0. |
System.Int32 | length | The length of the collection. If there is only a single instance the value is 1. |
Returns
Type | Description |
---|---|
Tout |
Type Parameters
Name | Description |
---|---|
Tin | The incoming type. |
Tout | The outgoing type. |