C# Class SuperMap.WindowsPhone.Mapping.QueueSystem

显示文件 Open project: SuperMap/iClient-for-Win8 Class Usage Examples

Public Properties

Property Type Description
Instance QueueSystem

Public Methods

Method Description
Cancel ( string id ) : void
ClearMemoryCache ( string id ) : 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 ( ) : SuperMap.WindowsPhone.Core
_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

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

Property Details

Instance public_oe static_oe property

public static QueueSystem,SuperMap.WindowsPhone.Mapping Instance
return QueueSystem