private async Task GetLocation() { Interop ??= new JSInterop <Geolocations>(JSRuntime); var ret = await Geolocation.GetLocaltion(Interop, this, nameof(GetLocationCallback)); Trace.Log(ret ? Localizer["GetLocationResultSuccess"] : Localizer["GetLocationResultFailed"]); }
public ValueTask <bool> GetLocaltion() => Geolocation.GetLocaltion(Interop, this, "Test");