Beispiel #1
0
        public OracleConnectionTests()
        {
            using (var repositoryRegistrar = LocalIocManager.ResolveAsDisposable <EfGenericRepositoryRegistrar>())
            {
                repositoryRegistrar.Object.RegisterForDbContext(typeof(DDDDbContext), LocalIocManager, EfAutoRepositoryTypes.Default);
            }

            _checkoffAutoAcpRepository    = LocalIocManager.IocContainer.Resolve <ICheckoffAutoAcpRepository>();
            _checkoffAutoAcpAcpAppService = LocalIocManager.IocContainer.Resolve <ICheckoffAutoAcpAppService>();
        }
Beispiel #2
0
        public CheckoffAutoAcpServiceTests()
        {
            using (var repositoryRegistrar = LocalIocManager.ResolveAsDisposable <EfGenericRepositoryRegistrar>())
            {
                repositoryRegistrar.Object.RegisterForDbContext(typeof(DDDDbContext), LocalIocManager, EfAutoRepositoryTypes.Default);
            }

            _checkoffAutoAcpAppService = LocalIocManager.IocContainer.Resolve <ICheckoffAutoAcpAppService>();

            _autoMapperInitializer = LocalIocManager.IocContainer.Resolve <IAutoMapperInitializer>();
        }
Beispiel #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public CheckoffAutoAcpController(ICheckoffAutoAcpAppService checkoffAutoAcpAppService)
 {
     _checkoffAutoAcpAppService = checkoffAutoAcpAppService;
     _logger = LogHelper.Logger.CreateChildLogger(nameof(WechatRepayController));
 }