Title here
Summary here
Define a source based on a generic .NET collection. This could be a List<T> or any other IEnumerable<T>. By default, an empty List<T> is created which can be filled with data.
Name | Description |
---|---|
TOutput | Type of outgoing data. |
MemorySource<MyRow> source = new MemorySource<MyRow>();
source.Data = new List<MyRow>()
{
new MyRow() { Id = 1, Value = "Test1" },
new MyRow() { Id = 2, Value = "Test2" },
new MyRow() { Id = 3, Value = "Test3" }
};
Type | Name | Description |
---|---|---|
IEnumerable<TOutput> | data | Set the source collection and stores it in Data |
The .NET collection that is used to read the data from.
Type | Description |
---|---|
IEnumerable<TOutput> |
If the source collection implements IList<T> then this property will convert the collection into this interface type.
Type | Description |
---|---|
IList<TOutput> |
Type | Name | Description |
---|---|---|
Exception | e |