Taal

CompletionSourceExtensions.Add Methode

Definitie

Overloads

Naam Description
Add(List<Func<CompletionContext,IEnumerable<CompletionItem>>>, Func<CompletionContext,IEnumerable<String>>)

Voegt een voltooiingsbron toe met behulp van een gemachtigde.

Add(List<Func<CompletionContext,IEnumerable<CompletionItem>>>, String[])

Voegt een voltooiingsbron toe met behulp van een gemachtigde.

Add(List<Func<CompletionContext,IEnumerable<CompletionItem>>>, Func<CompletionContext,IEnumerable<String>>)

Bron:
CompletionSourceExtensions.cs
Bron:
CompletionSourceExtensions.cs

Voegt een voltooiingsbron toe met behulp van een gemachtigde.

public:
[System::Runtime::CompilerServices::Extension]
 static void Add(System::Collections::Generic::List<Func<System::CommandLine::Completions::CompletionContext ^, System::Collections::Generic::IEnumerable<System::CommandLine::Completions::CompletionItem ^> ^> ^> ^ completionSources, Func<System::CommandLine::Completions::CompletionContext ^, System::Collections::Generic::IEnumerable<System::String ^> ^> ^ completionsDelegate);
public static void Add(this System.Collections.Generic.List<Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem>>> completionSources, Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<string>> completionsDelegate);
static member Add : System.Collections.Generic.List<Func<System.CommandLine.Completions.CompletionContext, seq<System.CommandLine.Completions.CompletionItem>>> * Func<System.CommandLine.Completions.CompletionContext, seq<string>> -> unit
<Extension()>
Public Sub Add (completionSources As List(Of Func(Of CompletionContext, IEnumerable(Of CompletionItem))), completionsDelegate As Func(Of CompletionContext, IEnumerable(Of String)))

Parameters

completionSources
List<Func<CompletionContext,IEnumerable<CompletionItem>>>

De lijst met voltooiingsbronnen waaraan moet worden toegevoegd.

completionsDelegate
Func<CompletionContext,IEnumerable<String>>

De gemachtigde die moet worden aangeroepen bij het berekenen van voltooiingen.

Van toepassing op

Add(List<Func<CompletionContext,IEnumerable<CompletionItem>>>, String[])

Bron:
CompletionSourceExtensions.cs
Bron:
CompletionSourceExtensions.cs

Voegt een voltooiingsbron toe met behulp van een gemachtigde.

public:
[System::Runtime::CompilerServices::Extension]
 static void Add(System::Collections::Generic::List<Func<System::CommandLine::Completions::CompletionContext ^, System::Collections::Generic::IEnumerable<System::CommandLine::Completions::CompletionItem ^> ^> ^> ^ completionSources, ... cli::array <System::String ^> ^ completions);
public static void Add(this System.Collections.Generic.List<Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem>>> completionSources, params string[] completions);
static member Add : System.Collections.Generic.List<Func<System.CommandLine.Completions.CompletionContext, seq<System.CommandLine.Completions.CompletionItem>>> * string[] -> unit
<Extension()>
Public Sub Add (completionSources As List(Of Func(Of CompletionContext, IEnumerable(Of CompletionItem))), ParamArray completions As String())

Parameters

completionSources
List<Func<CompletionContext,IEnumerable<CompletionItem>>>

De lijst met voltooiingsbronnen waaraan moet worden toegevoegd.

completions
String[]

Een lijst met tekenreeksen die moeten worden voorgesteld voor voltooiing van de opdrachtregel.

Van toepassing op