protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            _docEvents.DocumentOpened     -= DocEventsOnDocumentOpened;
            _docEvents.DocumentSaved      -= DocEventsOnDocumentSaved;
            _windowEvents.WindowActivated -= WindowEventsOnWindowActivated;
            _solutionEvents.Opened        -= SolutionEventsOnOpened;

            WakaTime.Dispose();
        }
Пример #2
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            _docEvents.DocumentOpened           -= DocEventsOnDocumentOpened;
            _docEvents.DocumentSaved            -= DocEventsOnDocumentSaved;
            _windowEvents.WindowActivated       -= WindowEventsOnWindowActivated;
            _solutionEvents.Opened              -= SolutionEventsOnOpened;
            _debuggerEvents.OnEnterRunMode      -= DebuggerEventsOnEnterRunMode;
            _debuggerEvents.OnEnterDesignMode   -= DebuggerEventsOnEnterDesignMode;
            _debuggerEvents.OnEnterBreakMode    -= DebuggerEventsOnEnterBreakMode;
            _buildEvents.OnBuildProjConfigBegin -= BuildEventsOnBuildProjConfigBegin;
            _buildEvents.OnBuildProjConfigDone  -= BuildEventsOnBuildProjConfigDone;
            _textEditorEvents.LineChanged       -= TextEditorEventsLineChanged;

            WakaTime.Dispose();
        }