示例#1
0
 public static void SetCacheLoaderErrorHandler(CacheLoaderErrorDelegate handler)
 {
     if (_cacheLoaderErrorDelegate != null)
     {
         throw new Exception("The CacheLoaderDelegate should only be set once within an app.");
     }
     if (handler != null)
     {
         _cacheLoaderErrorDelegate = handler;
     }
 }
示例#2
0
        public static void SetCacheLoaderErrorHandler(CacheLoaderErrorDelegate handler)
        {
            if (cache_loader_error_delegate_ != null)
            {
                throw new Exception("The CacheLoaderDelegate should only be set once whitin an application");
            }

            if (handler != null)
            {
                cache_loader_error_delegate_ = handler;
            }
        }
示例#3
0
        public static void SetCacheLoaderErrorHandler(CacheLoaderErrorDelegate handler) {
            if (cache_loader_error_delegate_ != null)
                throw new Exception("The CacheLoaderDelegate should only be set once whitin an application");

            if (handler != null)
                cache_loader_error_delegate_ = handler;
        }