C# 클래스 GPSTD_RM.TileInformation

Contains information about a single map tile.
상속: IDisposable
파일 보기 프로젝트 열기: dideler/gps-tower-defense 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
name string

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CancelImageRequest ( ) : void

Cancel the currently ongoing web request for the tile's image.

Dispose ( ) : void

Disposes the object's Image and stops any ongoing asynchronous requests.

Dispose ( bool imageOnly ) : void

Disposes the object's Image and potentially stops any ongoing asynchronous requests.

MarkImageRequestCancelled ( ) : void

Denotes that the current image web request has been successfully cancelled.

MarkImageRequestCompleted ( ) : void

Denotes that the current image web request has been successfully completed.

RequestImageAync ( Uri imageUri ) : void

Initiates an asynchronous web request to get the represented tile's image.

The object itself will be supplied as the user token for the asynchronous operation.

TileInformation ( OpenReadCompletedEventHandler readCompleteHandler ) : System

Creates a new tile information instance.

메소드 상세

CancelImageRequest() 공개 메소드

Cancel the currently ongoing web request for the tile's image.
There is no request in progress.
public CancelImageRequest ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes the object's Image and stops any ongoing asynchronous requests.
public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes the object's Image and potentially stops any ongoing asynchronous requests.
public Dispose ( bool imageOnly ) : void
imageOnly bool True to only clean the tile's image, false to cancel ongoing asynchronous /// requests as well.
리턴 void

MarkImageRequestCancelled() 공개 메소드

Denotes that the current image web request has been successfully cancelled.
public MarkImageRequestCancelled ( ) : void
리턴 void

MarkImageRequestCompleted() 공개 메소드

Denotes that the current image web request has been successfully completed.
public MarkImageRequestCompleted ( ) : void
리턴 void

RequestImageAync() 공개 메소드

Initiates an asynchronous web request to get the represented tile's image.
The object itself will be supplied as the user token for the asynchronous operation.
There is already a request in progress.
public RequestImageAync ( Uri imageUri ) : void
imageUri System.Uri Uri from which the image is to be retrieved.
리턴 void

TileInformation() 공개 메소드

Creates a new tile information instance.
public TileInformation ( OpenReadCompletedEventHandler readCompleteHandler ) : System
readCompleteHandler OpenReadCompletedEventHandler Handler to call when read operations initiated by /// are completed. Make sure that the handler calls /// or once it finishes /// handling the request.
리턴 System

프로퍼티 상세

name 공개적으로 프로퍼티

Identifier for this tile.
public string name
리턴 string