C# 클래스 SoftwareKobo.UniversalToolkit.Storage.StorageCachedImage

상속: Windows.UI.Xaml.Media.Imaging.BitmapSource
파일 보기 프로젝트 열기: h82258652/SoftwareKobo.UniversalToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsAutoRetryProperty Windows.UI.Xaml.DependencyProperty
IsLoadingProperty Windows.UI.Xaml.DependencyProperty
UriSourceProperty Windows.UI.Xaml.DependencyProperty

공개 메소드들

메소드 설명
CachedImageExist ( Uri uri ) : bool
CleanUpCachedImages ( ) : void

清空独立存储中已经缓存的图片。

GetCachedImagesSize ( ) : long

获取已缓存的文件的总大小。

RemoveCachedImage ( Uri uri ) : void
SetUriSource ( Uri uriSource ) : void
StorageCachedImage ( ) : System
StorageCachedImage ( Uri uri ) : System

비공개 메소드들

메소드 설명
GetCachePath ( Uri uri ) : string
IsAutoRetryChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
IsCacheExist ( string cachedPath ) : bool
LoadCachedImageAsync ( string cachePath ) : Task
SaveImageAsync ( string cachePath, byte datas ) : System.Threading.Tasks.Task
SetStreamAsync ( IRandomAccessStream stream, System.DateTime requestTime ) : System.Threading.Tasks.Task
UriSourceChanged ( ) : void
UriSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

메소드 상세

CachedImageExist() 공개 정적인 메소드

public static CachedImageExist ( Uri uri ) : bool
uri System.Uri
리턴 bool

CleanUpCachedImages() 공개 정적인 메소드

清空独立存储中已经缓存的图片。
public static CleanUpCachedImages ( ) : void
리턴 void

GetCachedImagesSize() 공개 정적인 메소드

获取已缓存的文件的总大小。
public static GetCachedImagesSize ( ) : long
리턴 long

RemoveCachedImage() 공개 정적인 메소드

public static RemoveCachedImage ( Uri uri ) : void
uri System.Uri
리턴 void

SetUriSource() 공개 메소드

public SetUriSource ( Uri uriSource ) : void
uriSource System.Uri
리턴 void

StorageCachedImage() 공개 메소드

public StorageCachedImage ( ) : System
리턴 System

StorageCachedImage() 공개 메소드

public StorageCachedImage ( Uri uri ) : System
uri System.Uri
리턴 System

프로퍼티 상세

IsAutoRetryProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml IsAutoRetryProperty
리턴 Windows.UI.Xaml.DependencyProperty

IsLoadingProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml IsLoadingProperty
리턴 Windows.UI.Xaml.DependencyProperty

UriSourceProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml UriSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty