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; }
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; }