C# 클래스 Catel.Services.Test.LocationService

Test implementation of the location service.
상속: ViewModelServiceBase, ILocationService
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
GetCurrentLocation ( ) : ILocation

Gets the current location.

LocationService ( ) : System

Initializes a new instance of the LocationService class.

ProceedToNextLocation ( ) : void

Proceeds to next location.

Start ( ) : bool

Starts the location service so it's retrieving data.

Stop ( ) : void

Stops the location service so it's no longer retrieving data.

비공개 메소드들

메소드 설명
OnLocationChanged ( ) : void

Called when the current location has changed.

OnTimerTick ( object data ) : void

Called when the timer reaches another tick.

메소드 상세

GetCurrentLocation() 공개 메소드

Gets the current location.
public GetCurrentLocation ( ) : ILocation
리턴 ILocation

LocationService() 공개 메소드

Initializes a new instance of the LocationService class.
public LocationService ( ) : System
리턴 System

ProceedToNextLocation() 공개 메소드

Proceeds to next location.
public ProceedToNextLocation ( ) : void
리턴 void

Start() 공개 메소드

Starts the location service so it's retrieving data.
public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

Stops the location service so it's no longer retrieving data.
public Stop ( ) : void
리턴 void