internal void Flush() { foreach (WSSessionCache RCache in SessionsCache) { if (WSSessionCache.IsValid(RCache)) { RCache.Flush(); } } }
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) { } }