1using System.Collections.ObjectModel;
2using CommunityToolkit.Mvvm.ComponentModel;
3using CommunityToolkit.Mvvm.Input;
12 private ObservableCollection<TextButton> buttons;
16 this.Buttons =
new ObservableCollection<TextButton>();
24 Command =
new AsyncRelayCommand(async () => await this.SelectUnitAsync(Unit))
31 private static async Task Close()
39 this.TrySetResult(unit);
43 protected override Task OnPopAsync()
45 if (!this.Result.IsCompleted)
47 this.TrySetResult(
null);
49 return base.OnPopAsync();
Base class that references services in the app.
static IPopupService PopupService
Popup service for presenting application popups.
static IReportingStringLocalizer Localizer
Localization service
DurationUnits
Duration units enumeration