public void SetUp(IRegisterComponent registerComponent) { registerComponent.RegisterType <IUserLogic, UserLogic>(); registerComponent.RegisterType <IPlayerLogic, PlayerLogic>(); registerComponent.RegisterType <IAdminLogic, AdminLogic>(); registerComponent.RegisterType <IStockLogic, StockLogic>(); registerComponent.RegisterType <IStockHistoryLogic, StockHistoryLogic>(); registerComponent.RegisterType <IStockNewsLogic, StockNewsLogic>(); registerComponent.RegisterType <ITransactionLogic, TransactionLogic>(); registerComponent.RegisterType <IInvitationCodeLogic, InvitationCodeLogic>(); registerComponent.RegisterType <IPortfolioLogic, PortfolioLogic>(); registerComponent.RegisterType <IGameSettingsLogic, GameSettingsLogic>(); registerComponent.RegisterTypeWithControlledLifeTime <IUnitOfWork, UnitOfWork>(); }
public void SetUp(IRegisterComponent registerComponent) { registerComponent.RegisterTypeWithControlledLifeTime <IDataAccessService, DataAccessService>(); }
public void SetUp(IRegisterComponent registerComponent) { registerComponent.RegisterTypeWithControlledLifeTime <IEventServices, EventServices>(); }
public void SetUp(IRegisterComponent registerComponent) { registerComponent.RegisterTypeWithControlledLifeTime <IUnitOfWork, UnitOfWork>(); }