Compartir a través de


CompletionSourceExtensions.Add Método

Definición

Sobrecargas

Add(CompletionSourceList, CompletionDelegate)

Agrega un origen de finalización mediante un delegado.

Add(CompletionSourceList, Func<CompletionContext,IEnumerable<String>>)

Agrega un origen de finalización mediante un delegado.

Add(CompletionSourceList, String[])

Agrega un origen de finalización mediante un delegado.

Add(CompletionSourceList, CompletionDelegate)

Agrega un origen de finalización mediante un delegado.

public:
[System::Runtime::CompilerServices::Extension]
 static void Add(System::CommandLine::CompletionSourceList ^ completionSources, System::CommandLine::Completions::CompletionDelegate ^ complete);
public static void Add (this System.CommandLine.CompletionSourceList completionSources, System.CommandLine.Completions.CompletionDelegate complete);
static member Add : System.CommandLine.CompletionSourceList * System.CommandLine.Completions.CompletionDelegate -> unit
<Extension()>
Public Sub Add (completionSources As CompletionSourceList, complete As CompletionDelegate)

Parámetros

completionSources
CompletionSourceList

Lista de orígenes de finalización a los que se va a agregar.

complete
CompletionDelegate

Delegado al que se va a llamar al calcular las finalizaciones.

Se aplica a

Add(CompletionSourceList, Func<CompletionContext,IEnumerable<String>>)

Agrega un origen de finalización mediante un delegado.

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

Parámetros

completionSources
CompletionSourceList

Lista de orígenes de finalización a los que se va a agregar.

complete
Func<CompletionContext,IEnumerable<String>>

Delegado al que se va a llamar al calcular las finalizaciones.

Se aplica a

Add(CompletionSourceList, String[])

Agrega un origen de finalización mediante un delegado.

public:
[System::Runtime::CompilerServices::Extension]
 static void Add(System::CommandLine::CompletionSourceList ^ completionSources, ... cli::array <System::String ^> ^ completions);
public static void Add (this System.CommandLine.CompletionSourceList completionSources, params string[] completions);
static member Add : System.CommandLine.CompletionSourceList * string[] -> unit
<Extension()>
Public Sub Add (completionSources As CompletionSourceList, ParamArray completions As String())

Parámetros

completionSources
CompletionSourceList

Lista de orígenes de finalización a los que se va a agregar.

completions
String[]

Lista de cadenas que se van a sugerir para las finalizaciones de la línea de comandos.

Se aplica a