Esempio n. 1
0
 public MuboxBridge(IServiceProvider serviceProvider)
 {
     _serviceProvider = serviceProvider;
     LoggingExtensions.ServiceProvider = serviceProvider; // gives Trace extensions indirect access to Console Extension
     Clients  = new List <IMuboxClient>();
     Keyboard = new Input.VirtualKeyboard(null);
     Mouse    = new Input.VirtualMouse(null);
 }
Esempio n. 2
0
 public MuboxBridge(IServiceProvider serviceProvider)
 {
     _serviceProvider = serviceProvider;
     LoggingExtensions.ServiceProvider = serviceProvider; // gives Trace extensions indirect access to Console Extension
     Clients = new List<IMuboxClient>();
     Keyboard = new Input.VirtualKeyboard(null);
     Mouse = new Input.VirtualMouse(null);
 }
Esempio n. 3
0
 public MuboxClientBridge(
     Action<WinAPI.VK> onDoKeyPress,
     Action<Input.MouseEventArgs> onDoMouseClick)
 {
     _doKeyPress = onDoKeyPress;
     _doMouseClick = onDoMouseClick;
     Keyboard = new Input.VirtualKeyboard(this);
     Mouse = new Input.VirtualMouse(this);
 }
Esempio n. 4
0
 public MuboxClientBridge(
     Action <WinAPI.VK> onDoKeyPress,
     Action <Input.MouseEventArgs> onDoMouseClick)
 {
     _doKeyPress   = onDoKeyPress;
     _doMouseClick = onDoMouseClick;
     Keyboard      = new Input.VirtualKeyboard(this);
     Mouse         = new Input.VirtualMouse(this);
 }