private async Task <IEnumerable <object> > GetTargets(MenuAction action) { if (ContextTargets != null) { return(ContextTargets); } else { return(await CurrentApplicationViewModel.GetMenuActionTargets(action)); } }