Exemple #1
0
        protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

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

            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

            await LoadAsync();
        }
Exemple #3
0
        protected async override Task OnInitializedAsync()
        {
            IsLoading = true;

            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

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

            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();

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

            IsEnabled = await properties.IsPointOfInterestAsync();
        }
Exemple #6
0
        protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();

            await UserState.EnsureAuthenticatedAsync();
        }