Exemplo n.º 1
0
 internal void Flush()
 {
     foreach (WSSessionCache RCache in SessionsCache)
     {
         if (WSSessionCache.IsValid(RCache))
         {
             RCache.Flush();
         }
     }
 }
Exemplo n.º 2
0
        internal void CleanUp()
        {
            try
            {
                foreach (WSSessionCache RCache in SessionsCache)
                {
                    RCache.CleanUp();
                }

                SessionsCache = SessionsCache == null ? new List <WSSessionCache>() : SessionsCache.Where(x => x.Items.Any()).ToList();
            }
            catch (Exception e) { }
        }