Partager via


ListMerger.IListMerger.ThreeWayMerge<T,U> Method

Definition

Same as the static ThreeWayMerge method; provided to facilitate unit testing.

generic <typename T, typename U>
 virtual System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<T, U>> ^ Microsoft.VisualStudio.Settings.IListMerger.ThreeWayMerge(System::Collections::Generic::IReadOnlyList<System::Collections::Generic::KeyValuePair<T, U>> ^ first, System::Collections::Generic::IReadOnlyList<System::Collections::Generic::KeyValuePair<T, U>> ^ second, System::Collections::Generic::IReadOnlyList<System::Collections::Generic::KeyValuePair<T, U>> ^ baseline, System::Collections::Generic::IEqualityComparer<T> ^ keyComparer, System::Collections::Generic::IEqualityComparer<U> ^ valueComparer, Microsoft::VisualStudio::Settings::Telemetry::ISettingsLogger ^ logger) = Microsoft::VisualStudio::Settings::IListMerger::ThreeWayMerge;
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<T,U>> IListMerger.ThreeWayMerge<T,U> (System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<T,U>> first, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<T,U>> second, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<T,U>> baseline, System.Collections.Generic.IEqualityComparer<T> keyComparer, System.Collections.Generic.IEqualityComparer<U> valueComparer, Microsoft.VisualStudio.Settings.Telemetry.ISettingsLogger logger);
abstract member Microsoft.VisualStudio.Settings.IListMerger.ThreeWayMerge : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<'T, 'U>> * System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<'T, 'U>> * System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<'T, 'U>> * System.Collections.Generic.IEqualityComparer<'T> * System.Collections.Generic.IEqualityComparer<'U> * Microsoft.VisualStudio.Settings.Telemetry.ISettingsLogger -> seq<System.Collections.Generic.KeyValuePair<'T, 'U>>
override this.Microsoft.VisualStudio.Settings.IListMerger.ThreeWayMerge : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<'T, 'U>> * System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<'T, 'U>> * System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<'T, 'U>> * System.Collections.Generic.IEqualityComparer<'T> * System.Collections.Generic.IEqualityComparer<'U> * Microsoft.VisualStudio.Settings.Telemetry.ISettingsLogger -> seq<System.Collections.Generic.KeyValuePair<'T, 'U>>
Function ThreeWayMerge(Of T, U) (first As IReadOnlyList(Of KeyValuePair(Of T, U)), second As IReadOnlyList(Of KeyValuePair(Of T, U)), baseline As IReadOnlyList(Of KeyValuePair(Of T, U)), keyComparer As IEqualityComparer(Of T), valueComparer As IEqualityComparer(Of U), logger As ISettingsLogger) As IEnumerable(Of KeyValuePair(Of T, U)) Implements IListMerger.ThreeWayMerge

Type Parameters

T
U

Parameters

baseline
IReadOnlyList<KeyValuePair<T,U>>
keyComparer
IEqualityComparer<T>
valueComparer
IEqualityComparer<U>

Returns

Implements

Applies to