Method InsertTo
InsertTo<TItem, TCollection>(TItem, IList<TCollection>, int)
Declaration
public static TItem InsertTo<TItem, TCollection>(this TItem instance, IList<TCollection> collection, int index) where TItem : TCollection
Parameters
Type | Name | Description |
---|---|---|
TItem | instance | |
IList<TCollection> | collection | |
int | index |
Returns
Type | Description |
---|---|
TItem |
Type Parameters
Name | Description |
---|---|
TItem | |
TCollection |