コード例 #1
0
 public FillFoodPageViewModel(IPageService pageService, IFoodStore foodStore)
 {
     _pageService = pageService;
     _foodStore   = foodStore;
     Food         = new FoodViewModel();
     //
     AddCommand = new Command(OnAddClicked);
 }
コード例 #2
0
 public FoodsController(IFoodStore foodStore, ModelFactory modelFactory)
 {
     this.foodStore    = foodStore;
     this.modelFactory = modelFactory;
 }