public LogService(AWPackage package, IVsOutputWindowPane vsOutputWindowPane) { _package = package; _vsOutputWindowPane = vsOutputWindowPane; _vsOutputWindowPane.SetName(AWPackage.NAME_CS_PLUGIN); bool activate = false; #if DEBUG LogLevel = EErrorLevel.Debug; activate = true; #endif // say hello Log(AWPackage.NAME_CS_PLUGIN + " " + getCurrentVersion() + " running", EErrorLevel.Info, activate); }
public DTE2EventListener(AWPackage package) { this._package = package; var dte2Events = this._package.DTE2Service.Events; _buildEv = dte2Events.BuildEvents; _documentEv = dte2Events.DocumentEvents; _selectionEv = dte2Events.SelectionEvents; _solutionEv = dte2Events.SolutionEvents; _windowEv = dte2Events.WindowEvents; _buildEv.OnBuildBegin += buildEvents_OnBuildBegin; _buildEv.OnBuildDone += buildEvents_OnBuildDone; _documentEv.DocumentOpened += documentEv_DocumentOpened; _documentEv.DocumentSaved += documentEv_DocumentSaved; _documentEv.DocumentClosing += documentEv_DocumentClosing; _selectionEv.OnChange += selectionEv_OnChange; _solutionEv.Opened += solutionEvents_Opened; _solutionEv.BeforeClosing += solutionEv_BeforeClosing; _windowEv.WindowActivated += windowEv_WindowActivated; _windowEv.WindowClosing += windowEv_WindowClosing; _windowEv.WindowCreated += windowEv_WindowCreated; _windowEv.WindowMoved += windowEv_WindowMoved; }
public AWConfigurationService(AWPackage package) { _package = package; }
internal EventService(AWPackage package) { _package = package; }
internal AwBinaryService(AWPackage package) { _package = package; }