Beispiel #1
0
 public async Task ForEachAsync(ActionAsync <C> action) //i think done.
 {
     foreach (C thisItem in _privateDict.Values)
     {
         await action.Invoke(thisItem);
     }
 }
Beispiel #2
0
 public async Task ApplyAsync(ActionAsync action)
 {
     if (data?.Any() ?? false)
     {
         await action?.Invoke(data[0]);
     }
 }