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