C# Class Catel.Services.LocationServiceBase

Class to allow partial abstract methods.
Inheritance: ILocationService
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
GetCurrentLocation ( ) : ILocation

Gets the current 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.

Méthodes protégées

Méthode Description
Initialize ( ) : void

Initializes the service.

LocationServiceBase ( IDispatcherService dispatcherService ) : System

Initializes a new instance of the LocationServiceBase class.

RaiseLocationChanged ( ) : void

Called when the current location has changed.

StartSensor ( ) : bool

Starts the sensor.

StopSensor ( ) : void

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

Method Details

GetCurrentLocation() public méthode

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

Initialize() protected méthode

Initializes the service.
protected Initialize ( ) : void
Résultat void

LocationServiceBase() protected méthode

Initializes a new instance of the LocationServiceBase class.
protected LocationServiceBase ( IDispatcherService dispatcherService ) : System
dispatcherService IDispatcherService The dispatcher service.
Résultat System

RaiseLocationChanged() protected méthode

Called when the current location has changed.
protected RaiseLocationChanged ( ) : void
Résultat void

Start() public méthode

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

StartSensor() protected méthode

Starts the sensor.
protected StartSensor ( ) : 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

StopSensor() protected méthode

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