ActivityCollection 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Activity类型的强类型化 ICollection 建模。

public ref class ActivityCollection sealed : System::Collections::Generic::List<System::Workflow::ComponentModel::Activity ^>, System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^>, System::Collections::Generic::IEnumerable<System::Workflow::ComponentModel::Activity ^>, System::Collections::Generic::IList<System::Workflow::ComponentModel::Activity ^>
public sealed class ActivityCollection : System.Collections.Generic.List<System.Workflow.ComponentModel.Activity>, System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>, System.Collections.Generic.IEnumerable<System.Workflow.ComponentModel.Activity>, System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityCollection : System.Collections.Generic.List<System.Workflow.ComponentModel.Activity>, System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>, System.Collections.Generic.IEnumerable<System.Workflow.ComponentModel.Activity>, System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>
type ActivityCollection = class
    inherit List<Activity>
    interface IList<Activity>
    interface ICollection<Activity>
    interface seq<Activity>
    interface IList
    interface ICollection
    interface IEnumerable
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCollection = class
    inherit List<Activity>
    interface IList<Activity>
    interface ICollection<Activity>
    interface seq<Activity>
    interface IList
    interface ICollection
    interface IEnumerable
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCollection = class
    inherit List<Activity>
    interface IList<Activity>
    interface ICollection<Activity>
    interface seq<Activity>
    interface IEnumerable
    interface IList
    interface ICollection
Public NotInheritable Class ActivityCollection
Inherits List(Of Activity)
Implements ICollection(Of Activity), IEnumerable(Of Activity), IList(Of Activity)
继承
ActivityCollection
属性
实现

示例

以下示例显示对包含所有子活动的复合活动类的成员 ActivityCollection 的访问。 此代码示例是 Using Throw SDK 示例的一部分,来自ThrowWorkflow.cs文件。 有关详细信息,请参阅 使用 ThrowActivity 活动

this.CanModifyActivities = true;
System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
this.throwActivity1 = new System.Workflow.ComponentModel.ThrowActivity();
activitybind1.Name = "ThrowWorkflow";
activitybind1.Path = "ThrownException";
//
// throwActivity1
//
this.throwActivity1.Name = "throwActivity1";
this.throwActivity1.SetBinding(System.Workflow.ComponentModel.ThrowActivity.FaultProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
//
// ThrowWorkflow
//
this.Activities.Add(this.throwActivity1);
this.Name = "ThrowWorkflow";
this.CanModifyActivities = false;
Me.CanModifyActivities = True
Dim activitybind1 As New System.Workflow.ComponentModel.ActivityBind()
Me.throwActivity1 = New System.Workflow.ComponentModel.ThrowActivity()
activitybind1.Name = "ThrowWorkflow"
activitybind1.Path = "ThrownException"
' 
' throwActivity1
' 
Me.throwActivity1.Name = "throwActivity1"
Me.throwActivity1.SetBinding(System.Workflow.ComponentModel.ThrowActivity.FaultProperty, activitybind1)
' 
' ThrowWorkflow
' 
Me.Activities.Add(Me.throwActivity1)
Me.Name = "ThrowWorkflow"
Me.CanModifyActivities = False

注解

注意

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.5中 弃用的类型。

此类用于表示 CompositeActivity的子活动列表。

注意

仅调用派生自 IList<T> 而不是 List<T>的方法,例如使用 Add 添加活动而不是 AddRange。 调用派生自 List<T> 的方法会产生意外后果。

构造函数

ActivityCollection(Activity)
已过时.

初始化 ActivityCollection 类的新实例,初始化所有者 Activity

属性

Capacity
已过时.

获取或设置内部数据结构可以在不调整大小的情况下保留的元素总数。

(继承自 List<T>)
Count
已过时.

获取 ICollection的成员数。

Item[Int32]
已过时.

根据索引获取或设置 ICollection 中的活动。

Item[String]
已过时.

根据作为唯一键的字符串获取 ICollection 中的活动。

方法

Add(Activity)
已过时.

Activity 添加到 ICollection

Add(T)
已过时.

将对象添加到 List<T>的末尾。

(继承自 List<T>)
AddRange(IEnumerable<T>)
已过时.

将指定集合的元素添加到 List<T>的末尾。

(继承自 List<T>)
AsReadOnly()
已过时.

返回当前集合的只读 ReadOnlyCollection<T> 包装器。

(继承自 List<T>)
BinarySearch(Int32, Int32, T, IComparer<T>)
已过时.

使用指定的比较器在排序 List<T> 中搜索元素的范围,并返回元素的从零开始的索引。

(继承自 List<T>)
BinarySearch(T)
已过时.

使用默认比较器搜索整个排序 List<T> 元素,并返回元素的从零开始的索引。

(继承自 List<T>)
BinarySearch(T, IComparer<T>)
已过时.

使用指定的比较器搜索整个排序 List<T> 元素,并返回该元素的从零开始的索引。

(继承自 List<T>)
Clear()
已过时.

ICollection中删除每个 Activity

Contains(Activity)
已过时.

提供 ICollectionActivity 成员资格的测试。

Contains(T)
已过时.

确定元素是否在 List<T>中。

(继承自 List<T>)
ConvertAll<TOutput>(Converter<T,TOutput>)
已过时.

将当前 List<T> 中的元素转换为另一种类型,并返回包含转换后的元素的列表。

(继承自 List<T>)
CopyTo(Int32, T[], Int32, Int32)
已过时.

List<T> 到兼容的一维数组(从目标数组的指定索引开始)复制一系列元素。

(继承自 List<T>)
CopyTo(T[])
已过时.

从目标数组的开头开始,将整个 List<T> 复制到兼容的一维数组。

(继承自 List<T>)
CopyTo(T[], Int32)
已过时.

将整个 List<T> 复制到兼容的一维数组,从目标数组的指定索引处开始。

(继承自 List<T>)
EnsureCapacity(Int32)
已过时.

确保此列表的容量至少为指定的 capacity。 如果当前容量小于 capacity,则它至少增加到指定的 capacity

(继承自 List<T>)
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
Exists(Predicate<T>)
已过时.

确定 List<T> 是否包含与指定谓词定义的条件匹配的元素。

(继承自 List<T>)
Find(Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并返回整个 List<T>中的第一个匹配项。

(继承自 List<T>)
FindAll(Predicate<T>)
已过时.

检索与指定谓词定义的条件匹配的所有元素。

(继承自 List<T>)
FindIndex(Int32, Int32, Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并返回从指定索引开始且包含指定数量的元素的 List<T> 中第一个匹配项的从零开始的索引。

(继承自 List<T>)
FindIndex(Int32, Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并在从指定索引扩展到最后一个元素的 List<T> 元素范围内返回第一个匹配项的从零开始的索引。

(继承自 List<T>)
FindIndex(Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并返回整个 List<T>中第一个匹配项的从零开始的索引。

(继承自 List<T>)
FindLast(Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并返回整个 List<T>中的最后一个匹配项。

(继承自 List<T>)
FindLastIndex(Int32, Int32, Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并返回 List<T> 中最后一个匹配项的从零开始的索引,该索引包含指定数量的元素并在指定索引处结束。

(继承自 List<T>)
FindLastIndex(Int32, Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并返回从第一个元素扩展到指定索引的 List<T> 中最后一个匹配项的从零开始的索引。

(继承自 List<T>)
FindLastIndex(Predicate<T>)
已过时.

搜索与指定谓词定义的条件匹配的元素,并返回整个 List<T>中最后一个匹配项的从零开始的索引。

(继承自 List<T>)
ForEach(Action<T>)
已过时.

List<T>的每个元素执行指定的操作。

(继承自 List<T>)
GetEnumerator()
已过时.

实现 ICollection的枚举接口。

GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetRange(Int32, Int32)
已过时.

在源 List<T>中创建一系列元素的浅表副本。

(继承自 List<T>)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
IndexOf(Activity)
已过时.

获取 ICollectionActivity 的索引。

IndexOf(T)
已过时.

搜索指定的对象,并返回整个 List<T>中第一个匹配项的从零开始的索引。

(继承自 List<T>)
IndexOf(T, Int32)
已过时.

搜索指定的对象,并返回从指定索引扩展到最后一个元素的 List<T> 中第一个匹配项的从零开始的索引。

(继承自 List<T>)
IndexOf(T, Int32, Int32)
已过时.

搜索指定的对象,并返回从指定索引开始且包含指定数量的元素的 List<T> 中第一个匹配项的从零开始的索引。

(继承自 List<T>)
Insert(Int32, Activity)
已过时.

ICollection的索引处插入项。

Insert(Int32, T)
已过时.

将元素插入指定索引处的 List<T>

(继承自 List<T>)
InsertRange(Int32, IEnumerable<T>)
已过时.

将集合的元素插入到指定索引处的 List<T> 中。

(继承自 List<T>)
LastIndexOf(T)
已过时.

搜索指定的对象,并返回整个 List<T>中最后一个匹配项的从零开始的索引。

(继承自 List<T>)
LastIndexOf(T, Int32)
已过时.

搜索指定的对象,并返回从第一个元素扩展到指定索引的 List<T> 中最后一个匹配项的从零开始的索引。

(继承自 List<T>)
LastIndexOf(T, Int32, Int32)
已过时.

搜索指定的对象,并返回 List<T> 中包含指定数量的元素并在指定索引处结束的最后一个匹配项的从零开始的索引。

(继承自 List<T>)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
Remove(Activity)
已过时.

ICollection中删除调用中指定的活动。

Remove(T)
已过时.

List<T>中删除特定对象的第一个匹配项。

(继承自 List<T>)
RemoveAll(Predicate<T>)
已过时.

删除与指定谓词定义的条件匹配的所有元素。

(继承自 List<T>)
RemoveAt(Int32)
已过时.

删除指定 index处的 ICollection 中的 Activity

RemoveRange(Int32, Int32)
已过时.

List<T>中删除一系列元素。

(继承自 List<T>)
Reverse()
已过时.

反转整个 List<T>中的元素的顺序。

(继承自 List<T>)
Reverse(Int32, Int32)
已过时.

反转指定区域中元素的顺序。

(继承自 List<T>)
Slice(Int32, Int32)
已过时.

在源 List<T>中创建一系列元素的浅表副本。

(继承自 List<T>)
Sort()
已过时.

使用默认比较器对整个 List<T> 中的元素进行排序。

(继承自 List<T>)
Sort(Comparison<T>)
已过时.

使用指定的 Comparison<T>对整个 List<T> 中的元素进行排序。

(继承自 List<T>)
Sort(IComparer<T>)
已过时.

使用指定的比较器对整个 List<T> 中的元素进行排序。

(继承自 List<T>)
Sort(Int32, Int32, IComparer<T>)
已过时.

使用指定的比较器对 List<T> 中一系列元素中的元素进行排序。

(继承自 List<T>)
ToArray()
已过时.

List<T> 的元素复制到新数组。

(继承自 List<T>)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)
TrimExcess()
已过时.

将容量设置为 List<T>中实际元素数(如果该数字小于阈值)。

(继承自 List<T>)
TrueForAll(Predicate<T>)
已过时.

确定 List<T> 中的每个元素是否与指定谓词定义的条件匹配。

(继承自 List<T>)

事件

ListChanged
已过时.

每当对此 ICollection的内容进行更改时引发。

显式接口实现

ICollection.CopyTo(Array, Int32)
已过时.

从特定 Array 索引开始,将 ICollection 的元素复制到 Array

ICollection.IsSynchronized
已过时.

获取一个值,该值指示是否同步对 ICollection<T> 的访问,这是线程安全的。

ICollection.SyncRoot
已过时.

获取可用于同步对 ICollection<T>的访问的对象。

ICollection<Activity>.Add(Activity)
已过时.

将对象添加到 IList末尾的 IList

ICollection<Activity>.Clear()
已过时.

清除 IList中的所有活动。

ICollection<Activity>.Contains(Activity)
已过时.

获取一个值,该值指示 Object 是否为集合的成员。

ICollection<Activity>.CopyTo(Activity[], Int32)
已过时.

从特定 Array 索引开始,将 ICollection 的元素复制到 Array

ICollection<Activity>.Count
已过时.

获取 ICollection<T>中包含的元素数。

ICollection<Activity>.IsReadOnly
已过时.

获取一个值,该值指示 IList 是否为只读。

ICollection<Activity>.Remove(Activity)
已过时.

ICollection<T>中删除特定对象的第一个匹配项。

ICollection<T>.IsReadOnly
已过时.

获取一个值,该值指示 ICollection<T> 是否为只读。

(继承自 List<T>)
IEnumerable.GetEnumerator()
已过时.

返回循环访问基础 IListIEnumerator

IEnumerable<Activity>.GetEnumerator()
已过时.

返回循环访问集合的枚举器。

IEnumerable<T>.GetEnumerator()
已过时.

返回循环访问集合的枚举器。

(继承自 List<T>)
IList.Add(Object)
已过时.

将对象添加到 IList末尾的 IList

IList.Clear()
已过时.

ICollection中删除所有 Activity

IList.Contains(Object)
已过时.

获取一个值,该值指示 Object 是否为集合的成员。

IList.IndexOf(Object)
已过时.

获取基础活动集合中 Object 的从零开始的索引。

IList.Insert(Int32, Object)
已过时.

在指定的从零开始的索引处将 Object 插入 IList

IList.IsFixedSize
已过时.

获取一个值,该值指示 IList 是否具有固定大小。

IList.IsReadOnly
已过时.

获取一个值,该值指示 ICollection<T> 是否为只读。

IList.Item[Int32]
已过时.

根据索引获取或设置 ICollection 中的活动。

IList.Remove(Object)
已过时.

IList中删除特定对象的第一个匹配项。

IList<Activity>.IndexOf(Activity)
已过时.

确定 IList中特定项的索引。

IList<Activity>.Insert(Int32, Activity)
已过时.

在指定的从零开始的索引处将 Object 插入 IList

IList<Activity>.Item[Int32]
已过时.

获取或设置指定索引处的元素。

IList<Activity>.RemoveAt(Int32)
已过时.

删除指定索引处的 IList 项。

扩展方法

ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数从 IEnumerable<T> 创建 FrozenDictionary<TKey,TValue>

ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器和元素选择器函数从 IEnumerable<T> 创建 FrozenDictionary<TKey,TValue>

ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)
已过时.

创建具有指定值的 FrozenSet<T>

AsReadOnly<T>(IList<T>)
已过时.

返回指定列表的只读 ReadOnlyCollection<T> 包装器。

ToImmutableArray<TSource>(IEnumerable<TSource>)
已过时.

从指定的集合创建不可变数组。

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

从现有元素集合构造不可变字典,将转换函数应用于源键。

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

基于序列的某些转换构造不可变字典。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)
已过时.

枚举和转换序列,并生成其内容的不可变字典。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>)
已过时.

枚举和转换序列,并使用指定的键比较器生成其内容的不可变字典。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)
已过时.

枚举和转换序列,并使用指定的键和值比较器生成其内容的不可变字典。

ToImmutableHashSet<TSource>(IEnumerable<TSource>)
已过时.

枚举序列并生成其内容的不可变哈希集。

ToImmutableHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
已过时.

枚举序列,生成其内容的不可变哈希集,并为集类型使用指定的相等比较器。

ToImmutableList<TSource>(IEnumerable<TSource>)
已过时.

枚举序列并生成其内容的不可变列表。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)
已过时.

枚举和转换序列,并生成其内容的不可变排序字典。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)
已过时.

枚举和转换序列,并使用指定的键比较器生成其内容的不可变排序字典。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)
已过时.

枚举和转换序列,并使用指定的键和值比较器生成其内容的不可变排序字典。

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)
已过时.

枚举序列并生成其内容的不可变排序集。

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)
已过时.

枚举序列,生成其内容的不可变排序集,并使用指定的比较器。

CopyToDataTable<T>(IEnumerable<T>)
已过时.

返回一个包含 DataRow 对象副本的 DataTable,给定 IEnumerable<T> 对象的输入 IEnumerable<T> 对象,其中泛型参数 TDataRow

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)
已过时.

给定泛型参数 TDataRow的输入 IEnumerable<T> 对象,将 DataRow 对象复制到指定的 DataTable

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)
已过时.

给定泛型参数 TDataRow的输入 IEnumerable<T> 对象,将 DataRow 对象复制到指定的 DataTable

Aggregate<TSource>(IEnumerable<TSource>, Func<TSource,TSource,TSource>)
已过时.

对序列应用累加器函数。

Aggregate<TSource,TAccumulate>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>)
已过时.

对序列应用累加器函数。 指定的种子值用作初始累加器值。

Aggregate<TSource,TAccumulate,TResult>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, Func<TAccumulate,TResult>)
已过时.

对序列应用累加器函数。 指定的种子值用作初始累加器值,并且指定函数用于选择结果值。

AggregateBy<TSource,TKey,TAccumulate>(IEnumerable<TSource>, Func<TSource, TKey>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, IEqualityComparer<TKey>)
已过时.

Activity类型的强类型化 ICollection 建模。

AggregateBy<TSource,TKey,TAccumulate>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TKey,TAccumulate>, Func<TAccumulate,TSource,TAccumulate>, IEqualityComparer<TKey>)
已过时.

Activity类型的强类型化 ICollection 建模。

All<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

确定序列的所有元素是否满足条件。

Any<TSource>(IEnumerable<TSource>)
已过时.

确定序列是否包含任何元素。

Any<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

确定序列的任何元素是否满足条件。

Append<TSource>(IEnumerable<TSource>, TSource)
已过时.

将值追加到序列的末尾。

AsEnumerable<TSource>(IEnumerable<TSource>)
已过时.

返回类型化为 IEnumerable<T>的输入。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Decimal 值的序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Double 值的序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Int32 值的序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Int64 值的序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已过时.

计算一系列可为 null 的 Decimal 值的平均值,这些值是通过对输入序列的每个元素调用转换函数获得的。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已过时.

计算一系列可为 null 的 Double 值的平均值,这些值是通过对输入序列的每个元素调用转换函数获得的。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已过时.

计算一系列可为 null 的 Int32 值的平均值,这些值是通过对输入序列的每个元素调用转换函数获得的。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已过时.

计算一系列可为 null 的 Int64 值的平均值,这些值是通过对输入序列的每个元素调用转换函数获得的。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已过时.

计算一系列可为 null 的 Single 值的平均值,这些值是通过对输入序列的每个元素调用转换函数获得的。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Single 值的序列的平均值。

Cast<TResult>(IEnumerable)
已过时.

IEnumerable 的元素强制转换为指定类型。

Chunk<TSource>(IEnumerable<TSource>, Int32)
已过时.

将序列的元素拆分为大小块,最多 size

Concat<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已过时.

连接两个序列。

Contains<TSource>(IEnumerable<TSource>, TSource)
已过时.

使用默认相等比较器确定序列是否包含指定的元素。

Contains<TSource>(IEnumerable<TSource>, TSource, IEqualityComparer<TSource>)
已过时.

确定序列是否使用指定的 IEqualityComparer<T>包含指定的元素。

Count<TSource>(IEnumerable<TSource>)
已过时.

返回序列中的元素数。

Count<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回一个数字,该值代表指定序列中满足条件的元素数。

CountBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

Activity类型的强类型化 ICollection 建模。

DefaultIfEmpty<TSource>(IEnumerable<TSource>)
已过时.

如果序列为空,则返回指定序列的元素或类型参数在单一实例集合中的默认值。

DefaultIfEmpty<TSource>(IEnumerable<TSource>, TSource)
已过时.

如果序列为空,则返回指定序列的元素或单个实例集合中的指定值。

Distinct<TSource>(IEnumerable<TSource>)
已过时.

通过使用默认相等比较器比较值,从序列中返回不同的元素。

Distinct<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
已过时.

通过使用指定的 IEqualityComparer<T> 来比较值,从序列中返回不同的元素。

DistinctBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数返回序列中的不同元素。

DistinctBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数并使用指定的比较器比较键,从序列中返回不同的元素。

ElementAt<TSource>(IEnumerable<TSource>, Index)
已过时.

返回序列中指定索引处的元素。

ElementAt<TSource>(IEnumerable<TSource>, Int32)
已过时.

返回序列中指定索引处的元素。

ElementAtOrDefault<TSource>(IEnumerable<TSource>, Index)
已过时.

返回序列中指定索引处的元素;如果索引范围不足,则返回默认值。

ElementAtOrDefault<TSource>(IEnumerable<TSource>, Int32)
已过时.

返回序列中指定索引处的元素;如果索引范围不足,则返回默认值。

Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已过时.

使用默认相等比较器来比较值,生成两个序列的集差。

Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已过时.

通过使用指定的 IEqualityComparer<T> 来比较值,生成两个序列的集差异。

ExceptBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数生成两个序列的集差异。

ExceptBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数生成两个序列的集差异。

First<TSource>(IEnumerable<TSource>)
已过时.

返回序列的第一个元素。

First<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回满足指定条件的序列中的第一个元素。

FirstOrDefault<TSource>(IEnumerable<TSource>)
已过时.

返回序列的第一个元素;如果序列不包含任何元素,则返回默认值。

FirstOrDefault<TSource>(IEnumerable<TSource>, TSource)
已过时.

返回序列的第一个元素;如果序列不包含任何元素,则返回指定的默认值。

FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回满足条件的序列的第一个元素;如果未找到此类元素,则返回默认值。

FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>, TSource)
已过时.

返回满足条件的序列的第一个元素;如果未找到此类元素,则返回指定的默认值。

GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数对序列的元素进行分组。

GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数对序列的元素进行分组,并使用指定的比较器比较键。

GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
已过时.

根据指定的键选择器函数对序列的元素进行分组,并使用指定的函数投影每个组的元素。

GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
已过时.

根据键选择器函数对序列的元素进行分组。 通过使用比较器比较键,并且每个组的元素都通过使用指定的函数进行投影。

GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>)
已过时.

根据指定的键选择器函数对序列的元素进行分组,并从每个组及其键创建结果值。

GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数对序列的元素进行分组,并从每个组及其键创建结果值。 使用指定的比较器比较键。

GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,TResult>)
已过时.

根据指定的键选择器函数对序列的元素进行分组,并从每个组及其键创建结果值。 每个组的元素是使用指定的函数投影的。

GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数对序列的元素进行分组,并从每个组及其键创建结果值。 使用指定的比较器比较键值,并且每个组的元素都通过使用指定的函数进行投影。

GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>)
已过时.

根据键的相等性关联两个序列的元素,并对结果进行分组。 默认相等比较器用于比较键。

GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)
已过时.

根据键相等性关联两个序列的元素,并对结果进行分组。 指定的 IEqualityComparer<T> 用于比较键。

Index<TSource>(IEnumerable<TSource>)
已过时.

返回一个可枚举值,该枚举将元素的索引合并到元组中。

Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已过时.

通过使用默认相等比较器来比较值,生成两个序列的集交集。

Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已过时.

通过使用指定的 IEqualityComparer<T> 来比较值,生成两个序列的集交集。

IntersectBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数生成两个序列的集交集。

IntersectBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数生成两个序列的集交集。

Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>)
已过时.

根据匹配键关联两个序列的元素。 默认相等比较器用于比较键。

Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>, IEqualityComparer<TKey>)
已过时.

根据匹配键关联两个序列的元素。 指定的 IEqualityComparer<T> 用于比较键。

Last<TSource>(IEnumerable<TSource>)
已过时.

返回序列的最后一个元素。

Last<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回满足指定条件的序列的最后一个元素。

LastOrDefault<TSource>(IEnumerable<TSource>)
已过时.

返回序列的最后一个元素;如果序列不包含任何元素,则返回默认值。

LastOrDefault<TSource>(IEnumerable<TSource>, TSource)
已过时.

返回序列的最后一个元素;如果序列不包含任何元素,则返回指定的默认值。

LastOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回满足条件的序列的最后一个元素;如果未找到此类元素,则返回默认值。

LastOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>, TSource)
已过时.

返回满足条件的序列的最后一个元素;如果未找到此类元素,则返回指定的默认值。

LongCount<TSource>(IEnumerable<TSource>)
已过时.

返回一个表示序列中元素总数的 Int64

LongCount<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回表示序列中满足条件的元素数的 Int64

Max<TSource>(IEnumerable<TSource>)
已过时.

返回泛型序列中的最大值。

Max<TSource>(IEnumerable<TSource>, IComparer<TSource>)
已过时.

返回泛型序列中的最大值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已过时.

对序列的每个元素调用转换函数,并返回最大 Decimal 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已过时.

对序列的每个元素调用转换函数,并返回最大 Double 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已过时.

对序列的每个元素调用转换函数,并返回最大 Int32 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已过时.

对序列的每个元素调用转换函数,并返回最大 Int64 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已过时.

对序列的每个元素调用转换函数,并返回最大可为 null Decimal 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已过时.

对序列的每个元素调用转换函数,并返回最大可为 null Double 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已过时.

对序列的每个元素调用转换函数,并返回最大可为 null Int32 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已过时.

对序列的每个元素调用转换函数,并返回最大可为 null Int64 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已过时.

对序列的每个元素调用转换函数,并返回最大可为 null Single 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已过时.

对序列的每个元素调用转换函数,并返回最大 Single 值。

Max<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
已过时.

对泛型序列的每个元素调用转换函数,并返回得到的最大值。

MaxBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数返回泛型序列中的最大值。

MaxBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
已过时.

根据指定的键选择器函数和键比较器返回泛型序列中的最大值。

Min<TSource>(IEnumerable<TSource>)
已过时.

返回泛型序列中的最小值。

Min<TSource>(IEnumerable<TSource>, IComparer<TSource>)
已过时.

返回泛型序列中的最小值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已过时.

对序列的每个元素调用转换函数,并返回最小 Decimal 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已过时.

对序列的每个元素调用转换函数,并返回最小 Double 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已过时.

对序列的每个元素调用转换函数,并返回最小 Int32 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已过时.

对序列的每个元素调用转换函数,并返回最小 Int64 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已过时.

对序列的每个元素调用转换函数,并返回可为 null 的最小 Decimal 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已过时.

对序列的每个元素调用转换函数,并返回可为 null 的最小 Double 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已过时.

对序列的每个元素调用转换函数,并返回可为 null 的最小 Int32 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已过时.

对序列的每个元素调用转换函数,并返回可为 null 的最小 Int64 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已过时.

对序列的每个元素调用转换函数,并返回可为 null 的最小 Single 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已过时.

对序列的每个元素调用转换函数,并返回最小 Single 值。

Min<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
已过时.

对泛型序列的每个元素调用转换函数,并返回生成的最小值。

MinBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数返回泛型序列中的最小值。

MinBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
已过时.

根据指定的键选择器函数和键比较器返回泛型序列中的最小值。

OfType<TResult>(IEnumerable)
已过时.

根据指定类型筛选 IEnumerable 的元素。

Order<T>(IEnumerable<T>)
已过时.

按升序对序列的元素进行排序。

Order<T>(IEnumerable<T>, IComparer<T>)
已过时.

按升序对序列的元素进行排序。

OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据键按升序对序列的元素进行排序。

OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
已过时.

使用指定的比较器按升序对序列的元素进行排序。

OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据键按降序对序列的元素进行排序。

OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
已过时.

使用指定的比较器按降序对序列的元素进行排序。

OrderDescending<T>(IEnumerable<T>)
已过时.

按降序对序列的元素进行排序。

OrderDescending<T>(IEnumerable<T>, IComparer<T>)
已过时.

按降序对序列的元素进行排序。

Prepend<TSource>(IEnumerable<TSource>, TSource)
已过时.

将值添加到序列的开头。

Reverse<TSource>(IEnumerable<TSource>)
已过时.

反转序列中元素的顺序。

Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
已过时.

将序列的每个元素投影到一个新窗体中。

Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,TResult>)
已过时.

通过合并元素的索引,将序列的每个元素投影到一个新窗体中。

SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TResult>>)
已过时.

将序列的每个元素投影到 IEnumerable<T>,并将生成的序列平展为一个序列。

SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TResult>>)
已过时.

将序列的每个元素投影到 IEnumerable<T>,并将生成的序列平展为一个序列。 每个源元素的索引用于该元素的投影形式。

SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)
已过时.

将序列的每个元素投影到 IEnumerable<T>,将生成的序列平展为一个序列,并在其中的每个元素上调用结果选择器函数。

SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)
已过时.

将序列的每个元素投影到 IEnumerable<T>,将生成的序列平展为一个序列,并在其中的每个元素上调用结果选择器函数。 每个源元素的索引用于该元素的中间投影形式。

SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已过时.

通过使用其类型的默认相等比较器,确定两个序列是否相等。

SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已过时.

通过使用指定的 IEqualityComparer<T>,确定两个序列是否相等。

Single<TSource>(IEnumerable<TSource>)
已过时.

返回序列的唯一元素,如果序列中没有完全有一个元素,则会引发异常。

Single<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回满足指定条件的序列的唯一元素,如果存在多个此类元素,则会引发异常。

SingleOrDefault<TSource>(IEnumerable<TSource>)
已过时.

返回序列的唯一元素;如果序列为空,则返回默认值;如果序列中有多个元素,此方法将引发异常。

SingleOrDefault<TSource>(IEnumerable<TSource>, TSource)
已过时.

返回序列的唯一元素;如果序列为空,则返回指定的默认值;如果序列中有多个元素,此方法将引发异常。

SingleOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

返回满足指定条件的序列的唯一元素;如果没有此类元素,则返回默认值;如果多个元素满足条件,此方法将引发异常。

SingleOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>, TSource)
已过时.

返回满足指定条件的序列的唯一元素;如果没有此类元素,则返回指定的默认值;如果多个元素满足条件,此方法将引发异常。

Skip<TSource>(IEnumerable<TSource>, Int32)
已过时.

绕过序列中的指定数量的元素,然后返回其余元素。

SkipLast<TSource>(IEnumerable<TSource>, Int32)
已过时.

返回一个新的可枚举集合,该集合包含 source 的元素,其中省略了源集合的最后一个 count 元素。

SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

只要指定条件为 true,即可绕过序列中的元素,然后返回其余元素。

SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
已过时.

只要指定条件为 true,即可绕过序列中的元素,然后返回其余元素。 元素的索引用于谓词函数的逻辑。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Decimal 值序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Double 值序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Int32 值序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Int64 值序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已过时.

计算通过对输入序列的每个元素调用转换函数获取的可为 null Decimal 值的序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已过时.

计算通过对输入序列的每个元素调用转换函数获取的可为 null Double 值的序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已过时.

计算通过对输入序列的每个元素调用转换函数获取的可为 null Int32 值的序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已过时.

计算通过对输入序列的每个元素调用转换函数获取的可为 null Int64 值的序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已过时.

计算通过对输入序列的每个元素调用转换函数获取的可为 null Single 值的序列的总和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已过时.

计算通过对输入序列的每个元素调用转换函数获得的 Single 值序列的总和。

Take<TSource>(IEnumerable<TSource>, Int32)
已过时.

从序列的开头返回指定的连续元素数。

Take<TSource>(IEnumerable<TSource>, Range)
已过时.

返回序列中连续元素的指定范围。

TakeLast<TSource>(IEnumerable<TSource>, Int32)
已过时.

返回一个新的可枚举集合,该集合包含来自 source的最后一个 count 元素。

TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

只要指定的条件为 true,就从序列中返回元素。

TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
已过时.

只要指定的条件为 true,就从序列中返回元素。 元素的索引用于谓词函数的逻辑。

ToArray<TSource>(IEnumerable<TSource>)
已过时.

IEnumerable<T>创建数组。

ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数从 IEnumerable<T> 创建 Dictionary<TKey,TValue>

ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数和键比较器从 IEnumerable<T> 创建 Dictionary<TKey,TValue>

ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
已过时.

根据指定的键选择器和元素选择器函数从 IEnumerable<T> 创建 Dictionary<TKey,TValue>

ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数、比较器和元素选择器函数从 IEnumerable<T> 创建 Dictionary<TKey,TValue>

ToHashSet<TSource>(IEnumerable<TSource>)
已过时.

IEnumerable<T>创建 HashSet<T>

ToHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
已过时.

使用 comparer 比较键从 IEnumerable<T> 创建 HashSet<T>

ToList<TSource>(IEnumerable<TSource>)
已过时.

IEnumerable<T>创建 List<T>

ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数从 IEnumerable<T> 创建 Lookup<TKey,TElement>

ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数和键比较器从 IEnumerable<T> 创建 Lookup<TKey,TElement>

ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
已过时.

根据指定的键选择器和元素选择器函数从 IEnumerable<T> 创建 Lookup<TKey,TElement>

ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数、比较器和元素选择器函数从 IEnumerable<T> 创建 Lookup<TKey,TElement>

TryGetNonEnumeratedCount<TSource>(IEnumerable<TSource>, Int32)
已过时.

尝试在不强制枚举的情况下确定序列中的元素数。

Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已过时.

使用默认相等比较器生成两个序列的集并集。

Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已过时.

使用指定的 IEqualityComparer<T>生成两个序列的集并集。

UnionBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TSource>, Func<TSource,TKey>)
已过时.

根据指定的键选择器函数生成两个序列的集并集。

UnionBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已过时.

根据指定的键选择器函数生成两个序列的集并集。

Where<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已过时.

根据谓词筛选值序列。

Where<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
已过时.

根据谓词筛选值序列。 每个元素的索引都在谓词函数的逻辑中使用。

Zip<TFirst,TSecond>(IEnumerable<TFirst>, IEnumerable<TSecond>)
已过时.

生成包含两个指定序列中的元素的元组序列。

Zip<TFirst,TSecond,TThird>(IEnumerable<TFirst>, IEnumerable<TSecond>, IEnumerable<TThird>)
已过时.

生成包含三个指定序列中的元素的元组序列。

Zip<TFirst,TSecond,TResult>(IEnumerable<TFirst>, IEnumerable<TSecond>, Func<TFirst,TSecond,TResult>)
已过时.

将指定的函数应用于两个序列的相应元素,从而生成结果序列。

AsParallel(IEnumerable)
已过时.

启用查询的并行化。

AsParallel<TSource>(IEnumerable<TSource>)
已过时.

启用查询的并行化。

AsQueryable(IEnumerable)
已过时.

IEnumerable 转换为 IQueryable

AsQueryable<TElement>(IEnumerable<TElement>)
已过时.

将泛型 IEnumerable<T> 转换为泛型 IQueryable<T>

Ancestors<T>(IEnumerable<T>)
已过时.

返回一个元素集合,其中包含源集合中每个节点的上级。

Ancestors<T>(IEnumerable<T>, XName)
已过时.

返回一个筛选的元素集合,其中包含源集合中每个节点的上级。 集合中仅包含具有匹配 XName 的元素。

DescendantNodes<T>(IEnumerable<T>)
已过时.

返回源集合中每个文档和元素的子代节点的集合。

Descendants<T>(IEnumerable<T>)
已过时.

返回一个元素集合,其中包含源集合中每个元素和文档的子代元素。

Descendants<T>(IEnumerable<T>, XName)
已过时.

返回一个筛选的元素集合,其中包含源集合中每个元素和文档的子代元素。 集合中仅包含具有匹配 XName 的元素。

Elements<T>(IEnumerable<T>)
已过时.

返回源集合中每个元素和文档的子元素的集合。

Elements<T>(IEnumerable<T>, XName)
已过时.

返回源集合中每个元素和文档的子元素的筛选集合。 集合中仅包含具有匹配 XName 的元素。

InDocumentOrder<T>(IEnumerable<T>)
已过时.

返回一个节点集合,其中包含源集合中的所有节点,按文档顺序排序。

Nodes<T>(IEnumerable<T>)
已过时.

返回源集合中每个文档和元素的子节点的集合。

Remove<T>(IEnumerable<T>)
已过时.

从源集合的父节点中删除每个节点。

适用于