src/NetStandard/Collections/Synchronization/src/CollectionModificationIterationTools.cs
/// <summary>
/// Creates an iterator builder for a modification that has items to be rmeoved from a collection.
/// </summary>
/// <param name="modification"></param>
/// <returns></returns>
/// <exception cref="ArgumentException">Member <see cref="ICollectionModificationInfo.OldItemsCount"/> is null.</exception>
Creates an iterator builder for a modification that has items to be rmeoved from a collection.
Creates an iterator builder for a modification that has items to be rmeoved from a collection .
public static IteratorBuilder BeginRemove(ICollectionModificationInfo modification)
        {
            if (modification.OldItemsCount is null) {
                throw new ArgumentException("Old items were not given while removing.");
            }
            return new IteratorBuilder(
                iterationCount: modification.OldItemsCount.Value,
                collectionStartIndex: modification.OldIndex,
                iteratesBackward: true);
        }
public static IteratorBuilder BeginRemove ( ICollectionModificationInfo modification ) { if ( modification . OldItemsCount is null ) { throw new ArgumentException ( " " ) ; } return new IteratorBuilder ( iterationCount : modification . OldItemsCount . Value , collectionStartIndex : modification . OldIndex , iteratesBackward : true ) ; }
Creates an iterator builder for a modification that has items to be rmeoved from a collection.
Creates an iterator builder for a modification that has items to be rmeoved from a collection .
None
Member  is null.
Member is null .
modification
ICollectionModificationInfo
None