protected async Task PredefinedDialogOkClicked() { PredefinedGroup = PredefinedGroups.Find(g => g.Name.Equals(PredefinedGroupName)); if (PredefinedGroup != null) { Selections ??= new List <string>(); Selections.AddRange(PredefinedGroup.StockTickers.Except(Selections)); await SelectionsChanged.InvokeAsync(Selections); showPredefinedGroupDialog = false; } }
protected async Task OnChange(MultiSelectChangeEventArgs <List <string> > args) { await SelectionsChanged.InvokeAsync(Selections); }
protected async Task StockSelectorCancelClicked() { Selections = originalSelections?.ToList(); showStockSelector = false; await SelectionsChanged.InvokeAsync(Selections); }
protected async Task StockSelectorOkClicked() { showStockSelector = false; await SelectionsChanged.InvokeAsync(Selections); }