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