Dispose() public method

public Dispose ( ) : void
return void
コード例 #1
0
        public void Dispose()
        {
            Logger.Initialization.Verbose("IntelliSenseHelper Dispose Start");

            foreach (var provider in _providers)
            {
                provider.Dispose();
            }
            _uiMonitor.Dispose();
            _display.Dispose();

            Logger.Initialization.Verbose("IntelliSenseHelper Dispose End");
        }
コード例 #2
0
        // Must run on the main thread
        public void Dispose()
        {
            Debug.Assert(Thread.CurrentThread.ManagedThreadId == 1);
            Logger.Initialization.Verbose("IntelliSenseHelper Dispose Start");

            foreach (var provider in _providers)
            {
                provider.Dispose();
            }
            _display.Dispose();
            _uiMonitor.Dispose();

            Logger.Initialization.Verbose("IntelliSenseHelper Dispose End");
        }
コード例 #3
0
        public void Shutdown()
        {
            Debug.Print("Shutdown!");
            if (_current != null)
            {
                try
                {
                    _current.Dispose();
                }
                catch (Exception ex)
                {
                    Debug.Print("!!! Error during Shutdown: " + ex);
                }

                _current = null;
            }
        }
コード例 #4
0
 public void Dispose()
 {
     _id.Dispose();
 }