C# Class withSIX.Core.Presentation.Wpf.Services.Cache.ImageFileCache

Inheritance: IEnableLogging, IPresentationService, IImageFileCache
显示文件 Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
BmiFromUriAsync ( Uri uri ) : Task
BmiFromUrlAsync ( Uri uri, CancellationToken token ) : Task
BmiFromUrlAsync ( Uri uri, double width, double height, CancellationToken token ) : Task
ImageFileCache ( IImageCacheManager downloader ) : System

Private Methods

Method Description
BmiFromUrlAsync ( Uri uri ) : Task
BmiFromUrlAsync ( Uri uri, DesiredImageSize desiredSize ) : Task
Download ( Uri uri ) : Task
Download ( Uri uri, DesiredImageSize desiredSize ) : Task
GetBitMapFromMemoryStream ( IBitmap bitMap ) : System.Windows.Media.Imaging.BitmapSource

Method Details

BmiFromUriAsync() public method

public BmiFromUriAsync ( Uri uri ) : Task
uri System.Uri
return Task

BmiFromUrlAsync() public method

public BmiFromUrlAsync ( Uri uri, CancellationToken token ) : Task
uri System.Uri
token System.Threading.CancellationToken
return Task

BmiFromUrlAsync() public method

public BmiFromUrlAsync ( Uri uri, double width, double height, CancellationToken token ) : Task
uri System.Uri
width double
height double
token System.Threading.CancellationToken
return Task

ImageFileCache() public method

public ImageFileCache ( IImageCacheManager downloader ) : System
downloader IImageCacheManager
return System