C# Класс DotNetMigrations.Core.CommandHelpWriter

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

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

Метод Описание
CommandHelpWriter ( ILogger logger ) : System
WriteArgumentList ( Type argumentsType ) : void

Writes out the list of arguments for the given arguments Type.

WriteArgumentSyntax ( Type argumentsType ) : void

Writes out the argument syntax for the given arguments Type.

WriteCommandHelp ( ICommand command, string executableName ) : void

Writes out the help verbiage for the given command.

WriteCommandList ( IEnumerable commands ) : void

Writes out a list of the given command names and descriptions.

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

Метод Описание
IsOptional ( ICustomAttributeProvider property ) : bool

Returns True/False whether the given property is optional.

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

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

public CommandHelpWriter ( ILogger logger ) : System
logger ILogger
Результат System

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

Writes out the list of arguments for the given arguments Type.
public WriteArgumentList ( Type argumentsType ) : void
argumentsType System.Type
Результат void

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

Writes out the argument syntax for the given arguments Type.
public WriteArgumentSyntax ( Type argumentsType ) : void
argumentsType System.Type
Результат void

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

Writes out the help verbiage for the given command.
public WriteCommandHelp ( ICommand command, string executableName ) : void
command ICommand
executableName string
Результат void

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

Writes out a list of the given command names and descriptions.
public WriteCommandList ( IEnumerable commands ) : void
commands IEnumerable
Результат void