示例#1
0
 public void Init(EquipmentListController equipmentListController)
 {
     setupModel();
     InventoryContext.EventBus.DispatchEvent(new InventoryUIEvents.ModelCreated(model));
     equipmentListController.gameObject.SetActive(value: true);
     equipmentListController.Init(model);
     Service.Get <NotificationBreadcrumbController>().ResetBreadcrumbs(breadcrumb);
 }
 public EquipmentListControllerTests()
 {
     equipmentRepo = Substitute.For <IRepository <Equipment> >();
     sut           = new EquipmentListController(equipmentRepo);
 }