Пример #1
0
 public void AddScreenItem(ResourceScreenItem choosenValue)
 {
     if (!ScreenItems.Contains(choosenValue))
     {
         ScreenItems.Add(choosenValue);
     }
 }
 public ResourceScreenItemViewModel(ResourceScreenItem model, ResourceScreen screen,
     ICommand actionCommand, bool isTicketSelected, bool userPermittedToMerge, ResourceState state)
 {
     _actionCommand = actionCommand;
     _screen = screen;
     _isTicketSelected = isTicketSelected;
     _userPermittedToMerge = userPermittedToMerge;
     ResourceState = state;
     Model = model;
 }
Пример #3
0
 public void AddScreenItem(ResourceScreenItem choosenValue)
 {
     if (!ScreenItems.Contains(choosenValue))
         ScreenItems.Add(choosenValue);
 }
 public ResourceButtonViewModel(ResourceScreenItem model, ResourceScreen screen)
     : this(model, screen, null, false, true, null)
 {
 }