internal CodeWindowHandler(DTE2 application, PatternNameProvider nameProvider, Options options)
 {
     _application = application;
     _textDocKeyPressEvents = ((Events2)application.Events).TextDocumentKeyPressEvents[null];
     _textDocKeyPressEvents.AfterKeyPress += AfterTextDocumentKeyPress;
     _textDocKeyPressEvents.BeforeKeyPress += BeforeTextDocumentKeyPress;
     _nameProvider = nameProvider;
     _options = options;
 }
 internal CodeWindowHandler(DTE2 application, PatternNameProvider nameProvider, Options options)
 {
     _application           = application;
     _textDocKeyPressEvents = ((Events2)application.Events).TextDocumentKeyPressEvents[null];
     _textDocKeyPressEvents.AfterKeyPress  += AfterTextDocumentKeyPress;
     _textDocKeyPressEvents.BeforeKeyPress += BeforeTextDocumentKeyPress;
     _nameProvider = nameProvider;
     _options      = options;
 }
Esempio n. 3
0
 public DesignerEventBindingService(IEventBindingService realService, PatternNameProvider nameProvider)
 {
     _realService  = realService;
     _nameProvider = nameProvider;
 }
 public DesignerEventBindingService(IEventBindingService realService, PatternNameProvider nameProvider)
 {
     _realService = realService;
     _nameProvider = nameProvider;
 }