Пример #1
0
 void CacheLoader_Failed(object s, ExceptionEventArgs e)
 {
     // if the cache load failed, make sure we're doing a live load.
     // if we aren't, kick one off.
     //
     NextCompletedAction.UnregisterLoader(LoaderType.CacheLoader);
     if (!_liveLoader.IsBusy && !HaveWeEverGottenALiveValue)
     {
         NextCompletedAction.RegisterActiveLoader(LoaderType.LiveLoader);
         _liveLoader.FetchData(true);
     }
 }