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); }
public void SetUp(InstanceModulesVM viewModel) { _viewModel = viewModel; }