Compartilhar via


CommandLineBuilderExtensions.UseLocalizationResources Método

Definição

Especifica os recursos de localização a serem usados ao exibir ajuda, mensagens de erro e outras cadeias de caracteres voltadas para o usuário.

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

Um construtor de linha de comando.

validationMessages
LocalizationResources

Os recursos de localização a serem usados.

Retornos

A mesma instância de CommandLineBuilder.

Aplica-se a