ParallelEnumerable.Intersect Yöntem

Tanım

İki paralel dizinin küme kesişimini üretir.

Aşırı Yüklemeler

Intersect<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
Geçersiz.

Bu Intersect aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

Intersect<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

Değerleri karşılaştırmak için belirtilen IEqualityComparer{T} kullanarak iki paralel dizinin küme kesişimini üretir.

Intersect<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)
Geçersiz.

Bu Intersect aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

Intersect<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

Değerleri karşılaştırmak için varsayılan eşitlik karşılaştırıcısını kullanarak iki paralel dizinin küme kesişimini üretir.

Intersect<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Dikkat

The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.

Bu Intersect aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Intersect(System::Linq::ParallelQuery<TSource> ^ first, System::Collections::Generic::IEnumerable<TSource> ^ second, System::Collections::Generic::IEqualityComparer<TSource> ^ comparer);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TSource> Intersect<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Collections.Generic.IEqualityComparer<TSource> comparer);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TSource> Intersect<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Collections.Generic.IEqualityComparer<TSource>? comparer);
[<System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")>]
static member Intersect : System.Linq.ParallelQuery<'Source> * seq<'Source> * System.Collections.Generic.IEqualityComparer<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Intersect(Of TSource) (first As ParallelQuery(Of TSource), second As IEnumerable(Of TSource), comparer As IEqualityComparer(Of TSource)) As ParallelQuery(Of TSource)

Tür Parametreleri

TSource

Bu tür parametresi kullanılmaz.

Parametreler

first
ParallelQuery<TSource>

Bu parametre kullanılmaz.

second
IEnumerable<TSource>

Bu parametre kullanılmaz.

comparer
IEqualityComparer<TSource>

Bu parametre kullanılmaz.

Döndürülenler

Bu aşırı yükleme her zaman bir NotSupportedExceptionoluşturur.

Öznitelikler

Özel durumlar

Bu yöntem çağrıldığında oluşan özel durum.

Açıklamalar

Bu aşırı yükleme, Türü sol veri kaynağı ve türü ParallelQuery<TSource> sağ veri kaynağı ile Intersect kullanımını reddetmek IEnumerable<T>için vardır. Aksi takdirde, Intersect işleci paralel uygulamaya bağlama gibi görünür, ancak gerçekte sıralı uygulamaya bağlanır.

Ayrıca bkz.

Şunlara uygulanır

Intersect<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Değerleri karşılaştırmak için belirtilen IEqualityComparer{T} kullanarak iki paralel dizinin küme kesişimini üretir.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Intersect(System::Linq::ParallelQuery<TSource> ^ first, System::Linq::ParallelQuery<TSource> ^ second, System::Collections::Generic::IEqualityComparer<TSource> ^ comparer);
public static System.Linq.ParallelQuery<TSource> Intersect<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Linq.ParallelQuery<TSource> second, System.Collections.Generic.IEqualityComparer<TSource> comparer);
public static System.Linq.ParallelQuery<TSource> Intersect<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Linq.ParallelQuery<TSource> second, System.Collections.Generic.IEqualityComparer<TSource>? comparer);
static member Intersect : System.Linq.ParallelQuery<'Source> * System.Linq.ParallelQuery<'Source> * System.Collections.Generic.IEqualityComparer<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Intersect(Of TSource) (first As ParallelQuery(Of TSource), second As ParallelQuery(Of TSource), comparer As IEqualityComparer(Of TSource)) As ParallelQuery(Of TSource)

Tür Parametreleri

TSource

Giriş dizilerinin öğelerinin türü.

Parametreler

first
ParallelQuery<TSource>

içinde de görünen second benzersiz öğeleri döndürülecek bir dizi.

second
ParallelQuery<TSource>

İlk dizide de görünen benzersiz öğeleri döndürülecek bir dizi.

comparer
IEqualityComparer<TSource>

Değerleri karşılaştırmak için bir IEqualityComparer<T> .

Döndürülenler

İki dizinin küme kesişimini oluşturan öğeleri içeren bir dizi.

Özel durumlar

source veya action null başvurudur (Visual Basic'te Hiçbir şey).

Sorgunun değerlendirmesi sırasında bir veya daha fazla özel durum oluştu.

Ayrıca bkz.

Şunlara uygulanır

Intersect<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Dikkat

The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.

Bu Intersect aşırı yüklemesi hiçbir zaman çağrılmamalıdır. Bu yöntem eski olarak işaretlenir ve çağrıldığında her zaman oluşturur NotSupportedException .

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Intersect(System::Linq::ParallelQuery<TSource> ^ first, System::Collections::Generic::IEnumerable<TSource> ^ second);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TSource> Intersect<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Collections.Generic.IEnumerable<TSource> second);
[<System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")>]
static member Intersect : System.Linq.ParallelQuery<'Source> * seq<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Intersect(Of TSource) (first As ParallelQuery(Of TSource), second As IEnumerable(Of TSource)) As ParallelQuery(Of TSource)

Tür Parametreleri

TSource

Bu tür parametresi kullanılmaz.

Parametreler

first
ParallelQuery<TSource>

Bu parametre kullanılmaz.

second
IEnumerable<TSource>

Bu parametre kullanılmaz.

Döndürülenler

Bu aşırı yükleme her zaman bir NotSupportedExceptionoluşturur.

Öznitelikler

Özel durumlar

Bu yöntem çağrıldığında oluşan özel durum.

Açıklamalar

Bu aşırı yükleme, Türü sol veri kaynağı ve türü ParallelQuery<TSource> sağ veri kaynağı ile Intersect kullanımını reddetmek IEnumerable<T>için vardır. Aksi takdirde, Intersect işleci paralel uygulamaya bağlama gibi görünür, ancak gerçekte sıralı uygulamaya bağlanır.

Ayrıca bkz.

Şunlara uygulanır

Intersect<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs
Kaynak:
ParallelEnumerable.cs

Değerleri karşılaştırmak için varsayılan eşitlik karşılaştırıcısını kullanarak iki paralel dizinin küme kesişimini üretir.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Intersect(System::Linq::ParallelQuery<TSource> ^ first, System::Linq::ParallelQuery<TSource> ^ second);
public static System.Linq.ParallelQuery<TSource> Intersect<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Linq.ParallelQuery<TSource> second);
static member Intersect : System.Linq.ParallelQuery<'Source> * System.Linq.ParallelQuery<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Intersect(Of TSource) (first As ParallelQuery(Of TSource), second As ParallelQuery(Of TSource)) As ParallelQuery(Of TSource)

Tür Parametreleri

TSource

Giriş dizilerinin öğelerinin türü.

Parametreler

first
ParallelQuery<TSource>

içinde de görünen second benzersiz öğeleri döndürülecek bir dizi.

second
ParallelQuery<TSource>

İlk dizide de görünen benzersiz öğeleri döndürülecek bir dizi.

Döndürülenler

İki dizinin küme kesişimini oluşturan öğeleri içeren bir dizi.

Özel durumlar

source veya action null başvurudur (Visual Basic'te Hiçbir şey).

Sorgunun değerlendirmesi sırasında bir veya daha fazla özel durum oluştu.

Ayrıca bkz.

Şunlara uygulanır