CompletionSourceList Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A list of completion sources to be used when providing completions for completion.
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)
- Inheritance
-
CompletionSourceList
- Implements
Constructors
CompletionSourceList() |
Properties
Count |
Gets the number of elements in the collection. |
Item[Int32] |
Gets the element at the specified index in the read-only list. |
Methods
Add(ICompletionSource) |
Adds a completion source to the list. |
Clear() |
Clears the completion sources. |
GetEnumerator() |
Returns an enumerator that iterates through the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
Extension Methods
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET