CompletionSourceList Class
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
Count |
Gets the number of elements in the collection. |
Item[Int32] |
Gets the element at the specified index in the read-only list. |
Add(ICompletion |
Adds a completion source to the list. |
Clear() |
Clears the completion sources. |
Get |
Returns an enumerator that iterates through the collection. |
IEnumerable. |
Returns an enumerator that iterates through a collection. |
Add(Completion |
Adds a completion source using a delegate. |
Add(Completion |
Adds a completion source using a delegate. |
Add(Completion |
Adds a completion source using a delegate. |
Product | Versions |
---|---|
System.CommandLine | 2.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: