C# Класс FakeGPS.Common.GeolocationHelper

Static class to help with Geolocation operations.
Показать файл Открыть проект

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

Метод Описание
Get ( ) : LatLong

Get the current location from the Windows location API.

This currently includes Thread.Sleep hack to ensure the device is ready.

IsValid ( string latLong ) : bool

Checks to see if the location string is valid.

ToLatLong ( string latLong ) : LatLong

Convert a location string to a LatLong.

Описание методов

Get() публичный статический Метод

Get the current location from the Windows location API.
This currently includes Thread.Sleep hack to ensure the device is ready.
public static Get ( ) : LatLong
Результат LatLong

IsValid() публичный статический Метод

Checks to see if the location string is valid.
public static IsValid ( string latLong ) : bool
latLong string The location string.
Результат bool

ToLatLong() публичный статический Метод

Convert a location string to a LatLong.
public static ToLatLong ( string latLong ) : LatLong
latLong string The location string.
Результат LatLong