コード例 #1
0
 private async Task LoadData()
 {
     foreach (var item in await App.Database.GetActionContextsAsync())
     {
         ActionContextList.Add(item);
     }
 }
コード例 #2
0
 private async Task LoadData()
 {
     foreach (var item in await App.Database.GetActionContextsAsync())
     {
         ActionContextList.Add(item);
     }
     
     Context = ActionContextList
        .Where(c => c.ID == UserAction.UserActionContextId)
        .FirstOrDefault();
 }