private CollectionChangeConversionAppliedEventArgs(IConversionCollectionChangeBundles <ConvertedItemType, CommonValueType, OriginContentType> bundles, AsyncEventSequence eventSequence) { bundles = bundles ?? throw new ArgumentNullException(nameof(bundles)); ConvertedCollectionChangeBundle = bundles.ConvertedBundle; OriginCollectionChangeBundle = bundles.OriginBundle; EventSequence = eventSequence; }
public static CollectionChangeConversionAppliedEventArgs <ConvertedItemType, CommonValueType, OriginContentType> CreateAsynchronous(IConversionCollectionChangeBundles <ConvertedItemType, CommonValueType, OriginContentType> bundles, AsyncEventSequence eventSequence) { eventSequence = eventSequence ?? throw new ArgumentNullException(nameof(eventSequence)); return(new CollectionChangeConversionAppliedEventArgs <ConvertedItemType, CommonValueType, OriginContentType>(bundles, eventSequence)); }