public SettingsFileUserNotifier(SVsServiceProvider sp, INotificationService notifier, SettingsPersister persister, SettingsLocator locator)
 {
     this.locator   = locator;
     this.notifier  = notifier;
     this.persister = persister;
     dte            = (DTE)sp.GetService(typeof(DTE));
 }
 public SettingsFileUserNotifier(SVsServiceProvider sp, INotificationService notifier, SettingsPersister persister, SettingsLocator locator)
 {
     this.locator = locator;
     this.notifier = notifier;
     this.persister = persister;
     dte = (DTE)sp.GetService(typeof(DTE));
 }
		public SolutionListener(SVsServiceProvider sp, ILogger logger, SettingsPersister persister, SettingsLocator locator) {
			this.logger = logger;
			this.locator = locator;
			this.persister = persister;

			dte = (DTE)sp.GetService(typeof(DTE));

			dteEvents = dte.Events.DTEEvents;
			solutionEvents = dte.Events.SolutionEvents;
			projectEvents = ((Events2)dte.Events).ProjectItemsEvents;
		}
Exemple #4
0
        public SolutionListener(SVsServiceProvider sp, ILogger logger, SettingsPersister persister, SettingsLocator locator)
        {
            this.logger    = logger;
            this.locator   = locator;
            this.persister = persister;

            dte = (DTE)sp.GetService(typeof(DTE));

            dteEvents      = dte.Events.DTEEvents;
            solutionEvents = dte.Events.SolutionEvents;
            projectEvents  = ((Events2)dte.Events).ProjectItemsEvents;
        }
Exemple #5
0
        public CreateSolutionSettingsCommand(SVsServiceProvider sp, ILogger logger, SettingsPersister persister, SettingsLocator locator)
            : base(PackageCommand.CreateSolutionSettingsFile)
        {
            this.logger    = logger;
            this.locator   = locator;
            this.persister = persister;

            dte = (DTE)sp.GetService(typeof(DTE));

            Command.BeforeQueryStatus += Command_BeforeQueryStatus;

            return;
        }
        public CreateSolutionSettingsCommand(SVsServiceProvider sp, ILogger logger, SettingsPersister persister, SettingsLocator locator)
            : base(PackageCommand.CreateSolutionSettingsFile)
        {
            this.logger = logger;
            this.locator = locator;
            this.persister = persister;

            dte = (DTE)sp.GetService(typeof(DTE));

            Command.BeforeQueryStatus += Command_BeforeQueryStatus;

            return;
        }