/// <summary> /// 释放占用的资源。 /// </summary> /// <param name="disposing"></param> protected virtual void Dispose(bool disposing) { if (this == _empty) { return; } if (!disposing) { return; } if (_disposed) { return; } _name = null; if (_levels != null) { _levels.Clear(); _levels = null; } GC.SuppressFinalize(this); _disposed = true; }