public AddMenuItemViewModel(IMenuDataModel dataModel, IMenuManagerViewModel menuManagerViewModel)
        {
            _menuDataModel = dataModel;
            _menuManagerViewModel = menuManagerViewModel;

            SelectedCategory = null;
        }
        public AddMenuItemViewModel(IMenuDataModel dataModel, IMenuManagerViewModel menuManagerViewModel)
        {
            _menuDataModel        = dataModel;
            _menuManagerViewModel = menuManagerViewModel;

            SelectedCategory = null;
        }
示例#3
0
        public MenuManagerViewModel(IMenuDataModel dataModel)
        {
            _menuDataModel = dataModel;

            AllMenuItems = new ObservableCollection <MenuItem>();
            MenuItems    = new BindableCollection <MenuItem>();

            Categories          = new ObservableCollection <MenuItemCategory>();
            AvailableCategories = new ObservableCollection <MenuItemCategory>();
        }
 public EditMenuItemViewModel(IMenuDataModel menuDataModel, IMenuManagerViewModel menuManagerViewModel)
 {
     _menuDataModel = menuDataModel;
     _menuManagerViewModel = menuManagerViewModel;
 }
 public AddCategoryViewModel(IMenuDataModel menuDataModel, IMenuManagerViewModel menuManagerViewModel)
 {
     _menuDataModel = menuDataModel;
     _menuManagerViewModel = menuManagerViewModel;
 }
示例#6
0
 public AddCategoryViewModel(IMenuDataModel menuDataModel, IMenuManagerViewModel menuManagerViewModel)
 {
     _menuDataModel        = menuDataModel;
     _menuManagerViewModel = menuManagerViewModel;
 }
 public EditMenuItemViewModel(IMenuDataModel menuDataModel, IMenuManagerViewModel menuManagerViewModel)
 {
     _menuDataModel        = menuDataModel;
     _menuManagerViewModel = menuManagerViewModel;
 }