Пример #1
0
 public PartInstance(PartInventory inventory, InventoryPart iPart, bool selling, Part toApply)
 {
     _backingPart      = iPart;
     _backingInventory = inventory;
     _selling          = selling;
     if (selling)
     {
         _sellOrDiscard = "Sell";
     }
     _toApply  = toApply;
     _moduleVM = new InstanceModulesVM(_backingPart);
 }
Пример #2
0
 public void SetUp(InstanceModulesVM viewModel)
 {
     _viewModel = viewModel;
 }