/// <summary> /// Initializes a new instance of the <see cref="EventControllerBase"/> class. /// </summary> /// <param name="serviceProvider">The service provider.</param> /// <param name="errorListProvider">The error list provider.</param> /// <param name="visualStudioJSLintProvider">The Visual Studio JSLint provider.</param> public EventControllerBase(IServiceProvider serviceProvider, IJSLintErrorListProvider errorListProvider, IVisualStudioJSLintProvider visualStudioJSLintProvider) { this.ServiceProvider = serviceProvider; this.ErrorListProvider = errorListProvider; this.VisualStudioJSLintProvider = visualStudioJSLintProvider; this.Environment = this.ServiceProvider.GetService<DTE, DTE2>(); }
public MenuEventController(IServiceProvider serviceProvider, IJSLintErrorListProvider errorListProvider, IVisualStudioJSLintProvider visualStudioJSLintProvider, IViewFactory viewFactory) : base(serviceProvider, errorListProvider, visualStudioJSLintProvider) { this.viewFactory = viewFactory; this.menuService = serviceProvider.GetService <IMenuCommandService>(); }
public BuildEventController(IServiceProvider serviceProvider, IJSLintErrorListProvider errorListProvider, IBuildProjectManager buildProjectManager, IVisualStudioJSLintProvider visualStudioJSLintProvider) : base(serviceProvider, errorListProvider, visualStudioJSLintProvider) { this.buildProjectManager = buildProjectManager; this.buildEvents = this.Environment.Events.BuildEvents; }
public DocumentEventController(IServiceProvider serviceProvider, IJSLintErrorListProvider errorListProvider, IVisualStudioJSLintProvider visualStudioJSLintProvider) : base(serviceProvider, errorListProvider, visualStudioJSLintProvider) { this.documentEvents = this.Environment.Events.DocumentEvents; }
public MenuEventController(IServiceProvider serviceProvider, IJSLintErrorListProvider errorListProvider, IVisualStudioJSLintProvider visualStudioJSLintProvider, IViewFactory viewFactory) : base(serviceProvider, errorListProvider, visualStudioJSLintProvider) { this.viewFactory = viewFactory; this.menuService = serviceProvider.GetService<IMenuCommandService>(); }
/// <summary> /// Initializes a new instance of the <see cref="EventControllerBase"/> class. /// </summary> /// <param name="serviceProvider">The service provider.</param> /// <param name="errorListProvider">The error list provider.</param> /// <param name="visualStudioJSLintProvider">The Visual Studio JSLint provider.</param> public EventControllerBase(IServiceProvider serviceProvider, IJSLintErrorListProvider errorListProvider, IVisualStudioJSLintProvider visualStudioJSLintProvider) { this.ServiceProvider = serviceProvider; this.ErrorListProvider = errorListProvider; this.VisualStudioJSLintProvider = visualStudioJSLintProvider; this.Environment = this.ServiceProvider.GetService <DTE, DTE2>(); }