C# Класс Microsoft.Iot.IotCoreAppDeployment.CommandLineParser

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddHelpArgument ( string argNames, string helpMsg ) : void
AddOptionalArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
AddOptionalArgumentWithoutInput ( string argName, string helpMsg, string>.Action handler ) : void
AddRequiredArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
CommandLineParser ( DeploymentWorker worker ) : System
HandleCommandLineArgs ( string args ) : bool

Приватные методы

Метод Описание
AddArgument ( string argNames, string helpMsg, bool consumesNextArg, bool required, bool isHelp, string>.Action handler ) : void
OutputHelpMessage ( ) : void
OutputHelpMessage ( ArgumentHelper option, bool required, bool input ) : void

Описание методов

AddHelpArgument() публичный Метод

public AddHelpArgument ( string argNames, string helpMsg ) : void
argNames string
helpMsg string
Результат void

AddOptionalArgumentWithInput() публичный Метод

public AddOptionalArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
argName string
helpMsg string
handler string>.Action
Результат void

AddOptionalArgumentWithoutInput() публичный Метод

public AddOptionalArgumentWithoutInput ( string argName, string helpMsg, string>.Action handler ) : void
argName string
helpMsg string
handler string>.Action
Результат void

AddRequiredArgumentWithInput() публичный Метод

public AddRequiredArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
argName string
helpMsg string
handler string>.Action
Результат void

CommandLineParser() публичный Метод

public CommandLineParser ( DeploymentWorker worker ) : System
worker DeploymentWorker
Результат System

HandleCommandLineArgs() публичный Метод

public HandleCommandLineArgs ( string args ) : bool
args string
Результат bool