void ScheduleReload() { Loaded = false; if (cache != null) { cache.Dispose(); } cache = null; if (RetryInterval > 0) { reloadTimer.Interval = RetryInterval * 1000; // convert to miliseconds reloadTimer.Start(); } }
public void DisposeCache() { _cache.Dispose(); }