C# 클래스 PowerArgs.TabCompletion

상속: PowerArgs.ArgHook, ICommandLineArgumentsDefinitionMetadata
파일 보기 프로젝트 열기: adamabdelhamed/PowerArgs 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddToHistory void
LoadHistory List

공개 메소드들

메소드 설명
BeforeParse ( PowerArgs.ArgHook context ) : void

Before PowerArgs parses the args, this hook inspects the command line for the indicator and if found takes over the command line and provides tab completion.

ClearHistory ( ) : void

Clears all history saved on disk

TabCompletion ( Type completionSource, string indicator = "" ) : System

Creates a new tab completion hook given a custom tab completion implementation.

TabCompletion ( string indicator = "" ) : System

Creates a new tab completion hook.

비공개 메소드들

메소드 설명
AddToHistory ( string item ) : void
LoadHistory ( ) : List

메소드 상세

BeforeParse() 공개 메소드

Before PowerArgs parses the args, this hook inspects the command line for the indicator and if found takes over the command line and provides tab completion.
public BeforeParse ( PowerArgs.ArgHook context ) : void
context PowerArgs.ArgHook The context used to inspect the command line arguments.
리턴 void

ClearHistory() 공개 메소드

Clears all history saved on disk
public ClearHistory ( ) : void
리턴 void

TabCompletion() 공개 메소드

Creates a new tab completion hook given a custom tab completion implementation.
public TabCompletion ( Type completionSource, string indicator = "" ) : System
completionSource System.Type A type that implements ITabCompletionSource such as SimpleTabCompletionSource
indicator string When this indicator is the only argument the user specifies that triggers the hook to enhance the command prompt. By default, the indicator is the empty string.
리턴 System

TabCompletion() 공개 메소드

Creates a new tab completion hook.
public TabCompletion ( string indicator = "" ) : System
indicator string When this indicator is the only argument the user specifies that triggers the hook to enhance the command prompt. By default, the indicator is the empty string.
리턴 System