[]
        
(Showing Draft Content)

C1.DataCollection.ISupportRangeEditing-1

ISupportRangeEditing<T> Interface

Specifies a calling contract for collections that support range editing.

Namespace: C1.DataCollection
Assembly: C1.DataCollection.dll
Syntax
public interface ISupportRangeEditing<in T> : ISupportEditing<T>
Type Parameters
Name Description
T

Methods

Name Description
CanInsertRange(int, IEnumerable<T>)

Determines whether a new range of items can be inserted in the collection at the specified startingIndex.

CanMoveRange(int, int, int)

Determines whether the item at fromIndex can be moved to toIndex.

CanRemoveRange(int, int)

Determines whether a range of items at the specified startingIndex can be removed from the collection.

CanReplaceRange(int, IEnumerable<T>)

Determines whether the items starting at the specified startingIndex can be replaced in the collection.

InsertRangeAsync(int, IEnumerable<T>, CancellationToken)

Inserts the specified items at the specified startingIndex in the collection.

MoveRangeAsync(int, int, int, CancellationToken)

Moves the items starting at the specified fromIndex to toIndex.

RemoveRangeAsync(int, int, CancellationToken)

Removes the items at the specified startingIndex from the collection.

ReplaceRangeAsync(int, IEnumerable<T>, CancellationToken)

Replaces the items starting at the specified startingIndex by the specified items.