public AlternateSendKeys(ISendKeyboardInput keyboardInput, ISendKeysParserFactory parserFactory, IntPtr window)
        {
            this.keyboardInput = keyboardInput;
            this.parserFactory = parserFactory;
            this.window = window;

            InitialiseModifierKeyMap();
        }
Esempio n. 2
0
        public AlternateSendKeys(ISendKeyboardInput keyboardInput, ISendKeysParserFactory parserFactory, IntPtr window)
        {
            this.keyboardInput = keyboardInput;
            this.parserFactory = parserFactory;
            this.window        = window;

            InitialiseModifierKeyMap();
        }
Esempio n. 3
0
        protected override void SetUp()
        {
            keyboardInput = NewMock <ISendKeyboardInput>();
            parserFactory = NewMock <ISendKeysParserFactory>();
            parser        = NewMock <ISendKeysParser>();

            window           = new IntPtr(0x12345);
            keyboardSendKeys = new AlternateSendKeys(keyboardInput, parserFactory, window);
        }
Esempio n. 4
0
 public SendKeysFactory(ISendKeysParserFactory parserFactory, ISendKeyboardInput keyboardInput)
 {
     this.parserFactory = parserFactory;
     this.keyboardInput = keyboardInput;
 }
 public SendKeysFactory(ISendKeysParserFactory parserFactory, ISendKeyboardInput keyboardInput)
 {
     this.parserFactory = parserFactory;
     this.keyboardInput = keyboardInput;
 }
Esempio n. 6
0
        protected override void SetUp()
        {
            keyboardInput = NewMock<ISendKeyboardInput>();
            parserFactory = NewMock<ISendKeysParserFactory>();
            parser = NewMock<ISendKeysParser>();

            window = new IntPtr(0x12345);
            keyboardSendKeys = new AlternateSendKeys(keyboardInput, parserFactory, window);
        }