protected virtual ISession DecorateSession(object sessionId) { if (sessionId == null) { throw new ArgumentNullException("sessionId"); } return new StoppingAwareProxiedSession( new DelegatingSession(SecurityManager, sessionId), this); }