private void Construct(DiContainer container, SignalBus signalBus, ShopItemContext shopItemContext, ShopItemView shopItemView, Player player) { _container = container; _signalBus = signalBus; _shopItemContext = shopItemContext; _shopItemViewPrefab = shopItemView; _player = player; }
public ShopItemRepository(ShopItemContext db) { this.db = db; }
public UnitOfWorkRepository(string connect) { db = new ShopItemContext(connect); }