[]
Initializes a new instance of the C1SelectDataCollection<S, T> class.
public C1SelectDataCollection(IEnumerable source, Func<int, S, T> select)
| Type | Name | Description |
|---|---|---|
| IEnumerable | source | The source. |
| Func<int, S, T> | select | Select function which converts a source item into an item of this collection. |
Initializes a new instance of the C1SelectDataCollection<S, T> class.
public C1SelectDataCollection(IEnumerable source, Func<IReadOnlyList<S>, int, T> select, Func<T, S>? selectBack = null)
| Type | Name | Description |
|---|---|---|
| IEnumerable | source | The source. |
| Func<IReadOnlyList<S>, int, T> | select | Select function which converts a source item into an item of this collection. |
| Func<T, S> | selectBack | Function that gives the source item from the collection item. Used to insert and replace operations. |
Initializes a new instance of the C1SelectDataCollection<S, T> class.
protected C1SelectDataCollection(IEnumerable source)
| Type | Name | Description |
|---|---|---|
| IEnumerable | source | The source. |