Beispiel #1
0
        public DependencyItemViewModel(
            DependencyItem item,
            IItemCommands itemCommands,
            bool isSourceItem)
        {
            Item = item;
            this.itemCommands = itemCommands;
            this.isSourceItem = isSourceItem;

            SubItems = ToSubItems(item.SubItems);
        }
Beispiel #2
0
 public ItemsController(IItemCommands itemCommands, IItemQueries itemQueries)
 {
     _itemCommands = itemCommands;
     _itemQueries  = itemQueries;
 }
 public ItemService(IItemQuery itemQuery, IItemCommands itemCommands)
 {
     _iq = itemQuery;
     _ic = itemCommands;
 }