コード例 #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;
 }