Ejemplo n.º 1
0
        protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

            Navigator.LocationChanged += OnLocationChanged;
        }
Ejemplo n.º 2
0
        protected async override Task OnInitializedAsync()
        {
            PoiToggleButton = new PoiToggleButton(Navigator, Properties, UserState);

            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

            await LoadAsync();
        }
Ejemplo n.º 3
0
        protected async override Task OnInitializedAsync()
        {
            IsLoading = true;

            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

            await LoadDataAsync();
        }
Ejemplo n.º 4
0
        protected async override Task OnInitializedAsync()
        {
            Log.Debug("Timeline.Init");

            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

            Log.Debug("Timeline.Load");
            await LoadAsync();
        }
Ejemplo n.º 5
0
        public async Task InitializeAsync()
        {
            await userState.EnsureAuthenticatedAsync();

            IsEnabled = await properties.IsPointOfInterestAsync();
        }
Ejemplo n.º 6
0
        protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();
        }