C# Class Catel.Services.Test.LocationService

Test implementation of the location service.
Inheritance: ViewModelServiceBase, ILocationService
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
OnLocationChanged ( ) : void

Called when the current location has changed.

OnTimerTick ( object data ) : void

Called when the timer reaches another tick.

Method Details

GetCurrentLocation() public méthode

Gets the current location.
public GetCurrentLocation ( ) : ILocation
Résultat ILocation

LocationService() public méthode

Initializes a new instance of the LocationService class.
public LocationService ( ) : System
Résultat System

ProceedToNextLocation() public méthode

Proceeds to next location.
public ProceedToNextLocation ( ) : void
Résultat void

Start() public méthode

Starts the location service so it's retrieving data.
public Start ( ) : bool
Résultat bool

Stop() public méthode

Stops the location service so it's no longer retrieving data.
public Stop ( ) : void
Résultat void