Compartir a través de


CommandLineBuilderExtensions.UseLocalizationResources Método

Definición

Especifica los recursos de localización que se usarán al mostrar ayuda, mensajes de error y otras cadenas orientadas al usuario.

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Builder::CommandLineBuilder ^ UseLocalizationResources(System::CommandLine::Builder::CommandLineBuilder ^ builder, System::CommandLine::LocalizationResources ^ validationMessages);
public static System.CommandLine.Builder.CommandLineBuilder UseLocalizationResources (this System.CommandLine.Builder.CommandLineBuilder builder, System.CommandLine.LocalizationResources validationMessages);
static member UseLocalizationResources : System.CommandLine.Builder.CommandLineBuilder * System.CommandLine.LocalizationResources -> System.CommandLine.Builder.CommandLineBuilder
<Extension()>
Public Function UseLocalizationResources (builder As CommandLineBuilder, validationMessages As LocalizationResources) As CommandLineBuilder

Parámetros

builder
CommandLineBuilder

Generador de líneas de comandos.

validationMessages
LocalizationResources

Los recursos de localización que se van a usar.

Devoluciones

La misma instancia de CommandLineBuilder.

Se aplica a