Пример #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             ICallContext callContext = DependencyManager.Instance().Resolve <ICallContext>();
             callContext.Remove(AppKeyConst.UoW);
             context.Dispose();
             context = null;
         }
     }
     this.disposed = true;
 }