CompletionSourceList 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供完成的完成时要使用的完成源列表。
public ref class CompletionSourceList : System::Collections::Generic::IEnumerable<System::CommandLine::Completions::ICompletionSource ^>, System::Collections::Generic::IReadOnlyCollection<System::CommandLine::Completions::ICompletionSource ^>, System::Collections::Generic::IReadOnlyList<System::CommandLine::Completions::ICompletionSource ^>
	public class CompletionSourceList : System.Collections.Generic.IEnumerable<System.CommandLine.Completions.ICompletionSource>, System.Collections.Generic.IReadOnlyCollection<System.CommandLine.Completions.ICompletionSource>, System.Collections.Generic.IReadOnlyList<System.CommandLine.Completions.ICompletionSource>
	type CompletionSourceList = class
    interface IReadOnlyList<ICompletionSource>
    interface seq<ICompletionSource>
    interface IEnumerable
    interface IReadOnlyCollection<ICompletionSource>
	Public Class CompletionSourceList
Implements IEnumerable(Of ICompletionSource), IReadOnlyCollection(Of ICompletionSource), IReadOnlyList(Of ICompletionSource)
		- 继承
 - 
				CompletionSourceList
 
- 实现
 
构造函数
| CompletionSourceList() | 
		 提供完成的完成时要使用的完成源列表。  | 
        	
属性
| Count | 
		 获取集合中的元素数。  | 
        	
| Item[Int32] | 
		 获取位于只读列表中指定索引处的元素。  | 
        	
方法
| Add(ICompletionSource) | 
		 将完成源添加到列表中。  | 
        	
| Clear() | 
		 清除完成源。  | 
        	
| Equals(Object) | 
		 确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| GetEnumerator() | 
		 返回一个循环访问集合的枚举器。  | 
        	
| GetHashCode() | 
		 作为默认哈希函数。 (继承自 Object) | 
        	
| GetType() | 
		 获取当前实例的 Type。 (继承自 Object) | 
        	
| MemberwiseClone() | 
		 创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| ToString() | 
		 返回表示当前对象的字符串。 (继承自 Object) | 
        	
显式接口实现
| IEnumerable.GetEnumerator() | 
		 返回循环访问集合的枚举数。  | 
        	
扩展方法
| Add(CompletionSourceList, CompletionDelegate) | 
		 使用委托添加完成源。  | 
        	
| Add(CompletionSourceList, Func<CompletionContext,IEnumerable<String>>) | 
		 使用委托添加完成源。  | 
        	
| Add(CompletionSourceList, String[]) | 
		 使用委托添加完成源。  |