コード例 #1
0
 private async Task <IEnumerable <object> > GetTargets(MenuAction action)
 {
     if (ContextTargets != null)
     {
         return(ContextTargets);
     }
     else
     {
         return(await CurrentApplicationViewModel.GetMenuActionTargets(action));
     }
 }