Interface IParsable<Tout>
This interface provides a generic approach to parse data structures for incoming or outgoing dataflows within the IReadable<T> and IWritable<T> implementations.
Namespace: TeleScope.Persistence.Abstractions
Assembly: TeleScope.Persistence.Abstractions.dll
Syntax
public interface IParsable<out Tout>
Type Parameters
Name | Description |
---|---|
Tout | The resulting type after parsing process. |
Methods
| Improve this Doc View SourceParse<Tin>(Tin, Int32, Int32)
Parses the input data intor the output data with optional additional information if the data objects are stored in a collection.
Declaration
Tout Parse<Tin>(Tin input, int index = 0, int length = 1)
Parameters
Type | Name | Description |
---|---|---|
Tin | input | The input data. |
System.Int32 | index | The index of the data instance. If the instance is part of a collection this value increases above zero. |
System.Int32 | length | The length of the data collection. If the instance is part of a collection this value is greater than one. |
Returns
Type | Description |
---|---|
Tout | The output data. |
Type Parameters
Name | Description |
---|---|
Tin | The incoming type before the parsing process. |