Exemple #1
0
        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>();
        }
Exemple #2
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterTypeWithControlledLifeTime <IDataAccessService, DataAccessService>();
 }
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterTypeWithControlledLifeTime <IEventServices, EventServices>();
 }
Exemple #4
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterTypeWithControlledLifeTime <IUnitOfWork, UnitOfWork>();
 }