Example #1
0
 public async Task Initialize()
 {
     ViewDisabler.Disable("Laster...", Task.WhenAll(DishViewModel.Initialize(), IngredientViewModel.Initialize(), TagViewModel.Initialize()));
 }
Example #2
0
 public DishViewModel(FoodFacade foodFacade, IViewDisabler viewDisabler, IngredientViewModel ingredientViewModel, TagViewModel tagViewModel, PopupDialog popupDialog)
 {
     m_foodFacade        = foodFacade;
     m_viewDisabler      = viewDisabler;
     TagViewModel        = tagViewModel;
     IngredientViewModel = ingredientViewModel;
     m_popupDialog       = popupDialog;
 }
Example #3
0
 public FoodAdminViewModel(DishViewModel dishViewModel, IngredientViewModel ingredientViewModel, TagViewModel tagViewModel, IViewDisabler viewDisabler)
 {
     ViewDisabler        = viewDisabler;
     DishViewModel       = dishViewModel;
     IngredientViewModel = ingredientViewModel;
     TagViewModel        = tagViewModel;
 }