C# 클래스 Cirrious.MvvmCross.Plugins.DownloadCache.MvxFileDownloadCache

상속: Cirrious.CrossCore.Core.MvxLockableObject, IMvxFileDownloadCache
파일 보기 프로젝트 열기: Everbridge/sm-MvvmCross

Private Properties

프로퍼티 타입 설명
DeleteNextUnneededFile void
DeleteOldestOneIfTooManyFiles void
DoFilePathCallback void
DoPeriodicTasks void
DoRequestLocalFilePath void
EnsureCacheFolderExists void
LoadIndexEntries Entry>.Dictionary
OnDownloadError void
OnDownloadSuccess void
QueueOutOfDateFilesForDelete void
QueueUnindexedFilesForDelete void
SaveIndexIfDirty void

공개 메소드들

메소드 설명
MvxFileDownloadCache ( string cacheName, string cacheFolder, int maxFileCount, System.TimeSpan maxFileAge ) : System
RequestLocalFilePath ( string httpSource, Action success, Action error ) : void

비공개 메소드들

메소드 설명
DeleteNextUnneededFile ( ) : void
DeleteOldestOneIfTooManyFiles ( ) : void
DoFilePathCallback ( Entry diskEntry, Action success, Action error ) : void
DoPeriodicTasks ( ) : void
DoRequestLocalFilePath ( string httpSource, Action success, Action error ) : void
EnsureCacheFolderExists ( ) : void
LoadIndexEntries ( ) : Entry>.Dictionary
OnDownloadError ( string httpSource, Exception exception ) : void
OnDownloadSuccess ( string httpSource, string pathForDownload ) : void
QueueOutOfDateFilesForDelete ( ) : void
QueueUnindexedFilesForDelete ( ) : void
SaveIndexIfDirty ( ) : void

메소드 상세

MvxFileDownloadCache() 공개 메소드

public MvxFileDownloadCache ( string cacheName, string cacheFolder, int maxFileCount, System.TimeSpan maxFileAge ) : System
cacheName string
cacheFolder string
maxFileCount int
maxFileAge System.TimeSpan
리턴 System

RequestLocalFilePath() 공개 메소드

public RequestLocalFilePath ( string httpSource, Action success, Action error ) : void
httpSource string
success Action
error Action
리턴 void