private static IMvxFileDownloadCache CreateFileDownloadCache( MvxDownloadCacheConfiguration config) { var downloadCache = new MvxFileDownloadCache( config.CacheName, config.CacheFolderPath, config.MaxFiles, config.MaxFileAge); return(downloadCache); }
public static IMvxResizedImageCache <UIImage> CreateResizedImageCache( MvxDownloadCacheConfiguration config) { var fileDownloadCache = CreateFileDownloadCache(config); var fileCache = new MvxResizedImageCache <UIImage>( fileDownloadCache, config.MaxInMemoryFiles, config.MaxInMemoryBytes, false); return(fileCache); }