示例#1
0
        public void Dispose()
        {
            if (disposed)
            {
                throw new ObjectDisposedException(GetType().FullName);
            }

            disposed = true;

            session.Dispose();
            appDomainManager.Dispose();
        }
示例#2
0
 public void Dispose()
 {
     session.Dispose();
     appDomainManager.Dispose();
 }