C# Class SuperMap.WinRT.Mapping.QueueSystem

关于OfflineStorage的设计不太合理 整个类文件需要拆分
Inheritance: IDisposable
Mostra file Open project: SuperMap/iClient-for-Win8 Class Usage Examples

Private Properties

Property Type Description
GetImageStart void
OnDownloadImageCompleted void
QueueSystem System
_executantPool_DownloadImageCompleted void

Public Methods

Method Description
Cancel ( string id ) : void
ClearMemoryCache ( string id ) : void
Dispose ( ) : void

释放占据的所有资源,不再请求。

GetHowToDownloadById ( string id ) : Task>.Func
GetStorage ( string id ) : IOfflineStorage
InputTiles ( string id, IList tiles ) : void
Register ( string id, IOfflineStorage storage, Func howToDownload ) : void

注册一个新的图层。

ResetStorage ( string id, IOfflineStorage storage ) : void
Unregiest ( string id ) : void

注销一个图层。

Private Methods

Method Description
GetImageStart ( ) : void
OnDownloadImageCompleted ( Tile tile ) : void
QueueSystem ( ) : System
_executantPool_DownloadImageCompleted ( object sender, Tile e ) : void

Method Details

Cancel() public method

public Cancel ( string id ) : void
id string
return void

ClearMemoryCache() public method

public ClearMemoryCache ( string id ) : void
id string
return void

Dispose() public method

释放占据的所有资源,不再请求。
public Dispose ( ) : void
return void

GetHowToDownloadById() public method

public GetHowToDownloadById ( string id ) : Task>.Func
id string
return Task>.Func

GetStorage() public method

public GetStorage ( string id ) : IOfflineStorage
id string
return IOfflineStorage

InputTiles() public method

public InputTiles ( string id, IList tiles ) : void
id string
tiles IList
return void

Register() public method

注册一个新的图层。
public Register ( string id, IOfflineStorage storage, Func howToDownload ) : void
id string
storage IOfflineStorage
howToDownload Func
return void

ResetStorage() public method

public ResetStorage ( string id, IOfflineStorage storage ) : void
id string
storage IOfflineStorage
return void

Unregiest() public method

注销一个图层。
public Unregiest ( string id ) : void
id string
return void