コード例 #1
0
        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;
            }
        }
コード例 #2
0
 protected async Task OnChange(MultiSelectChangeEventArgs <List <string> > args)
 {
     await SelectionsChanged.InvokeAsync(Selections);
 }
コード例 #3
0
 protected async Task StockSelectorCancelClicked()
 {
     Selections        = originalSelections?.ToList();
     showStockSelector = false;
     await SelectionsChanged.InvokeAsync(Selections);
 }
コード例 #4
0
 protected async Task StockSelectorOkClicked()
 {
     showStockSelector = false;
     await SelectionsChanged.InvokeAsync(Selections);
 }