src/NetStandard/Collections/Algorithms/src/Algorithms/Modifications/SortedCollectionModifications.cs
/// <summary>
/// The algorithm creates modifications that can transform one collection into another collection.
/// The collection modifications may be used to transform <paramref name="leftItems"/>.
/// Assumes <paramref name="leftItems"/> and <paramref name="rightItems"/> to be sorted by that order you specify by <paramref name="collectionOrder"/>.
/// Duplications are allowed but take into account that duplications are yielded as they are appearing.
/// </summary>
/// <typeparam name="TItem">The item type.</typeparam>
/// <param name="leftItems">The collection you want to have transformed.</param>
/// <param name="rightItems">The collection in which <paramref name="leftItems"/> could be transformed.</param>
/// <param name="comparer">The comparer to be used to compare comparable parts of left and right item.</param>
/// <param name="yieldCapabilities">The yieldCapabilities that regulates how <paramref name="leftItems"/> and <paramref name="rightItems"/> are synchronized.</param>
/// <returns>The collection modifications.</returns>
/// <exception cref="ArgumentNullException">Thrown when non-nullable arguments are null.</exception>
The algorithm creates modifications that can transform one collection into another collection.
The collection modifications may be used to transform .
Assumes  and  to be sorted by that order you specify by .
Duplications are allowed but take into account that duplications are yielded as they are appearing.
The algorithm creates modifications that can transform one collection into another collection . The collection modifications may be used to transform . Assumes and to be sorted by that order you specify by . Duplications are allowed but take into account that duplications are yielded as they are appearing .
public static IEnumerable<CollectionModification<TItem, TItem>> YieldCollectionModifications<TItem>(
            IEnumerable<TItem> leftItems,
            IEnumerable<TItem> rightItems,
            IComparer<TItem> comparer,
            CollectionModificationYieldCapabilities yieldCapabilities) =>
            YieldCollectionModifications(
                leftItems,
                leftItem => leftItem,
                rightItems,
                rightItem => rightItem,
                comparer: comparer,
                yieldCapabilities: yieldCapabilities);
public static IEnumerable < CollectionModification < TItem , TItem > > YieldCollectionModifications < TItem > ( IEnumerable < TItem > leftItems , IEnumerable < TItem > rightItems , IComparer < TItem > comparer , CollectionModificationYieldCapabilities yieldCapabilities ) => YieldCollectionModifications ( leftItems , leftItem => leftItem , rightItems , rightItem => rightItem , comparer : comparer , yieldCapabilities : yieldCapabilities ) ;
The algorithm creates modifications that can transform one collection into another collection.
The algorithm creates modifications that can transform one collection into another collection .
The collection modifications.
The collection modifications .
Thrown when non-nullable arguments are null.
Thrown when non - nullable arguments are null .
leftItems
IEnumerable<TItem>
The collection you want to have transformed.
The collection you want to have transformed .
rightItems
IEnumerable<TItem>
The collection in which  could be transformed.
The collection in which could be transformed .
comparer
IComparer<TItem>
The comparer to be used to compare comparable parts of left and right item.
The comparer to be used to compare comparable parts of left and right item .
yieldCapabilities
CollectionModificationYieldCapabilities
The yieldCapabilities that regulates how  and  are synchronized.
The yieldCapabilities that regulates how and are synchronized .
typeparam
The item type.
The item type .