Пример #1
0
        public void Shutdown()
        {
            if (_eventSource != null)
            {
                _eventSource.ErrorRaised   -= OnErrorRaised;
                _eventSource.WarningRaised -= OnWarningRaised;

                _eventSource = null;

                _projectFilePath = null;
                _log             = null;
            }
        }
 public void SetProjectAndLog(string projectFilePath, DiagnosticLog log)
 {
     _projectFilePath = projectFilePath;
     _log             = log;
 }