Пример #1
0
 /// <summary>
 /// Move a item into a new position relative to the current position in the <see cref="IPagedDataSet{TItem, TResult}"/>
 /// </summary>
 /// <param name="dataSet">the dataset to move item</param>
 /// <param name="item">The item to move</param>
 /// <param name="offset">a new position relative to the current item position</param>
 /// <returns></returns>
 public static async Task MoveOffset <TItem, TResult>(this Movable <TItem, TResult> movable, TItem item, int offset) where TItem : class
 => await movable.MoveOffset(movable.PagedDataSet, item, offset);