C# 클래스 DotNetMigrations.Core.CommandHelpWriter

파일 보기 프로젝트 열기: jpoehls/dotnetmigrations 1 사용 예제들

공개 메소드들

메소드 설명
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