[]
Determines whether the item at fromIndex can be moved to toIndex.
public static bool CanMove<T>(this IDataCollection<T> dataCollection, int fromIndex, int toIndex) where T : class?
Type | Name | Description |
---|---|---|
IDataCollection<T> | dataCollection | The data collection. |
int | fromIndex | The original index. |
int | toIndex | The destination index. |
Type | Description |
---|---|
bool |
Name | Description |
---|---|
T |