C# Класс Catel.Services.Test.LocationService

Test implementation of the location service.
Наследование: ViewModelServiceBase, ILocationService
Показать файл Открыть проект

Открытые методы

Метод Описание
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