private void Dispose(bool isDisposing) { // InternalManager.ReleaseSession(Session); if (isDisposing) { Session = null; InternalManager = null; } }
public SessionManager(ISessionManagerInternal manager) { _manager = manager; }
public SessionUsage(ISessionManagerInternal sessionManager) { InternalManager = sessionManager; Session = sessionManager.OpenSession(); }