C# 클래스 PowerArgs.Cli.KeyHandler

A class that lets you dynamically create key handlers
상속: IKeyHandler
파일 보기 프로젝트 열기: adamabdelhamed/PowerArgs

공개 메소드들

메소드 설명
FromAction ( Action handler ) : IKeyHandler

Creates a key handler from the given action

Handle ( RichCommandLineContext context ) : void

Calls the handler action code

비공개 메소드들

메소드 설명
KeyHandler ( IEnumerable keys, Action handler ) : System

메소드 상세

FromAction() 공개 정적인 메소드

Creates a key handler from the given action
public static FromAction ( Action handler ) : IKeyHandler
handler Action the handler action code
리턴 IKeyHandler

Handle() 공개 메소드

Calls the handler action code
public Handle ( RichCommandLineContext context ) : void
context RichCommandLineContext context from the parent reader
리턴 void