Reorganise project structure and namespaces. Remove Leaflet project and replace with Darnton.Blazor.Leaflet package.

This commit is contained in:
Bernard Darnton
2020-10-28 10:25:04 +13:00
parent 9576c5aa5b
commit 7dc4cea8ae
46 changed files with 431 additions and 441 deletions
@@ -0,0 +1,20 @@
using System;
namespace Darnton.Blazor.DeviceInterop.Geolocation
{
/// <summary>
/// The reason for a Geolocation error, based on <see href="https://developer.mozilla.org/en-US/docs/Web/API/GeolocationPositionError"/>.
/// </summary>
public class GeolocationPositionError
{
/// <summary>
/// The <see cref="GeolocationPositionErrorCode"/> for the error.
/// </summary>
public GeolocationPositionErrorCode Code { get; set; }
/// <summary>
/// Details of the error. Intended for debugging rather than display to the user.
/// </summary>
public string Message { get; set; }
}
}