public void CloseSession(Session session) { if (session == null) throw new ArgumentNullException("session"); session.CloseSession(); }