C# Class Catel.Services.Test.LocationService

Test implementation of the location service.
Inheritance: ViewModelServiceBase, ILocationService
Show file Open project: Catel/Catel

Public Methods

Method 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

Method 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 method

Gets the current location.
public GetCurrentLocation ( ) : ILocation
return ILocation

LocationService() public method

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

ProceedToNextLocation() public method

Proceeds to next location.
public ProceedToNextLocation ( ) : void
return void

Start() public method

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

Stop() public method

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