C# Class StarryEyes.Views.Controls.ImageLoader

ファイルを表示 Open project: karno/StarryEyes Class Usage Examples

Public Methods

Method Description
CancelLoading ( System.Guid id ) : void
QueueLoadImage ( IImageVisual image, Uri uri, int dpw, int dph ) : void
RegisterSpecialResolverTable ( string scheme, byte[]>.Func resolver ) : bool

Private Methods

Method Description
AfterLoadCompleted ( Uri uri, byte imageBytes ) : void
ApplyImage ( IImageVisual target, Uri source, BitmapImage image ) : void
ApplyImageOnDispatcher ( ) : void
CleanInternalTables ( Uri uri ) : void
CreateImage ( byte b, int dpw, int dph ) : BitmapImage
DecodeTaskWorker ( ) : void
GetCache ( [ uri, byte &cache ) : bool
ImageLoader ( ) : System
LoadBytes ( Uri source ) : Task
QueueDecodeTask ( System.Guid targetId, Uri uriSource, byte bytes, int dpw, int dph ) : void
QueueLoadTask ( Uri source, System.Guid id ) : void
RemoveExpiredCaches ( ) : void
RunNextLoadTask ( ) : void
SetCache ( [ uri, [ imageByte ) : void
StartDecodeThread ( ) : void

Method Details

CancelLoading() public static method

public static CancelLoading ( System.Guid id ) : void
id System.Guid
return void

QueueLoadImage() public static method

public static QueueLoadImage ( IImageVisual image, Uri uri, int dpw, int dph ) : void
image IImageVisual
uri System.Uri
dpw int
dph int
return void

RegisterSpecialResolverTable() public static method

public static RegisterSpecialResolverTable ( string scheme, byte[]>.Func resolver ) : bool
scheme string
resolver byte[]>.Func
return bool