C# 클래스 ZeroInstall.Commands.Utils.HelpExporterBase

Common base class for exporting all CliCommand help texts in a structured text format.
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
ToString ( ) : string

Returns all CliCommand help texts in a structured text format.

보호된 메소드들

메소드 설명
CommandDetails ( string name, string description, string usage ) : string
CommandListEntry ( string name, string description ) : string
CommandListFooter ( ) : string
CommandListHeader ( ) : string
OptionListEntry ( IEnumerable prototypes, string description ) : string
OptionListFooter ( ) : string
OptionListHeader ( ) : string

비공개 메소드들

메소드 설명
ForEachCommand ( Action action ) : void
GetPrototypes ( NDesk.Options.Option option ) : IEnumerable

메소드 상세

CommandDetails() 보호된 추상적인 메소드

protected abstract CommandDetails ( string name, string description, string usage ) : string
name string
description string
usage string
리턴 string

CommandListEntry() 보호된 추상적인 메소드

protected abstract CommandListEntry ( string name, string description ) : string
name string
description string
리턴 string

CommandListFooter() 보호된 추상적인 메소드

protected abstract CommandListFooter ( ) : string
리턴 string

CommandListHeader() 보호된 추상적인 메소드

protected abstract CommandListHeader ( ) : string
리턴 string

OptionListEntry() 보호된 추상적인 메소드

protected abstract OptionListEntry ( IEnumerable prototypes, string description ) : string
prototypes IEnumerable
description string
리턴 string

OptionListFooter() 보호된 추상적인 메소드

protected abstract OptionListFooter ( ) : string
리턴 string

OptionListHeader() 보호된 추상적인 메소드

protected abstract OptionListHeader ( ) : string
리턴 string

ToString() 공개 메소드

Returns all CliCommand help texts in a structured text format.
public ToString ( ) : string
리턴 string