Esempio n. 1
0
 private async Task StartupAsync()
 {
     if (!_isInitialized)
     {
         _toastNotificationsService.ShowToastNotificationSample();
         await Task.CompletedTask;
     }
 }
        protected override async Task HandleInternalAsync(LaunchActivatedEventArgs args)
        {
            // TODO WTS: Remove or change this sample which shows a toast notification when the app is launched.
            // You can use this sample to create toast notifications where needed in your app.
            _toastNotificationsService.ShowToastNotificationSample();

            _navigationService.NavigateTo(typeof(MainViewModel).FullName, args.Arguments);
            await Task.CompletedTask;
        }