C# Class SylphyHorn.Services.HookService

Inheritance: IDisposable
Exibir arquivo Open project: Grabacr07/SylphyHorn Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
HookService ( ) : System
Register ( ShortcutKey shortcutKey, Action action ) : IDisposable
Register ( ShortcutKey shortcutKey, Action action, Func canExecute ) : IDisposable
Suspend ( ) : IDisposable

Private Methods

Method Description
KeyHookOnPressed ( object sender, ShortcutKeyPressedEventArgs args ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HookService() public method

public HookService ( ) : System
return System

Register() public method

public Register ( ShortcutKey shortcutKey, Action action ) : IDisposable
shortcutKey ShortcutKey
action Action
return IDisposable

Register() public method

public Register ( ShortcutKey shortcutKey, Action action, Func canExecute ) : IDisposable
shortcutKey ShortcutKey
action Action
canExecute Func
return IDisposable

Suspend() public method

public Suspend ( ) : IDisposable
return IDisposable