Class EventHookFactory
A factory class core to the management of various watchers that all shares the same synchronization objects. Use this class to get instances of differant watchers. This factory instance should be disposed only after all watchers it have been unsubscribed.
Implements
Inherited Members
Namespace: EventHook
Assembly: EventHook.dll
Syntax
public class EventHookFactory : IDisposable
Methods
Dispose()
Declaration
public void Dispose()
GetApplicationWatcher()
Get an instance of application watcher.
Declaration
public ApplicationWatcher GetApplicationWatcher()
Returns
Type | Description |
---|---|
ApplicationWatcher |
GetClipboardWatcher()
Get an instance of clipboard watcher.
Declaration
public ClipboardWatcher GetClipboardWatcher()
Returns
Type | Description |
---|---|
ClipboardWatcher |
GetKeyboardWatcher()
Get an instance of keystroke watcher.
Declaration
public KeyboardWatcher GetKeyboardWatcher()
Returns
Type | Description |
---|---|
KeyboardWatcher |
GetMouseWatcher()
Get an instance of mouse watcher.
Declaration
public MouseWatcher GetMouseWatcher()
Returns
Type | Description |
---|---|
MouseWatcher |
GetPrintWatcher()
Get an instance of print watcher.
Declaration
public PrintWatcher GetPrintWatcher()
Returns
Type | Description |
---|---|
PrintWatcher |