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
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา