Ejemplo n.º 1
0
 public EnterMealsVM()
 {
     EnterMealsModel   = new EnterMealsModel();
     SearchFoodCommand = new SearchFoodCommand(this);
     Name    = new string[10];
     Fat     = new double[10];
     Carbon  = new double[10];
     Protein = new double[10];
 }
Ejemplo n.º 2
0
 public MainWindowViewModel()
 {
     mainWindowModel = new MainWindowModel();
     initLogIn();
     HomeCommand        = new HomeCommand();
     LogOutCommand      = new LogOutCommand();
     DailyFoodCommand   = new DailyFoodCommand();
     WeekGoalsCommand   = new WeekGoalsCommand();
     SearchCommand      = new SearchFoodCommand();
     WeekDetailsCommand = new WeekDetailsCommand();
 }
Ejemplo n.º 3
0
 public SearchFoodPageVM(IFoodInfoService foodInfoService)
 {
     SearchFoodCommand = new SearchFoodCommand(this);
     _foodInfoService  = foodInfoService;
 }