Exemple #1
0
 protected override void Initialize()
 {
     base.Initialize();
     _options = new Options(UserRegistryRoot, "EventHandlerNaming");
     _options.Load();
     _designerHandler   = new DesignerCreationListener((IDesignerEventService)GetService(typeof(IDesignerEventService)), _options);
     _codeWindowHandler = new CodeWindowHandler((DTE2)GetGlobalService(typeof(EnvDTE.DTE)), new PatternNameProvider(_options), _options);
     InitializeMenuCommands();
 }
 protected override void Initialize()
 {
     base.Initialize();
     _options = new Options(UserRegistryRoot,  "EventHandlerNaming");
     _options.Load();
     _designerHandler = new DesignerCreationListener((IDesignerEventService)GetService(typeof(IDesignerEventService)), _options);
     _codeWindowHandler = new CodeWindowHandler((DTE2) GetGlobalService(typeof(EnvDTE.DTE)), new PatternNameProvider(_options), _options);
     InitializeMenuCommands();
 }