Exemplo n.º 1
0
 public void Configure(IMvxPluginConfiguration configuration)
 {
     if (configuration != null && !(configuration is MvxDownloadCacheConfiguration))
     {
         throw new MvxException("You must use a MvxDownloadCacheConfiguration object for configuring the DownloadCache, but you supplied {0}", configuration.GetType().Name);
     }
     _configuration = (MvxDownloadCacheConfiguration)configuration;
 }
Exemplo n.º 2
0
 public void Configure(IMvxPluginConfiguration configuration)
 {
     if (configuration != null && !(configuration is MvxDownloadCacheConfiguration))
     {
         throw new MvxException("You must use a MvxDownloadCacheConfiguration object for configuring the DownloadCache, but you supplied {0}", configuration.GetType().Name);
     }
     _configuration = (MvxDownloadCacheConfiguration)configuration;
 }