コード例 #1
0
 public AccountingService(IPaymentInfoRepository paymentRepository,
                          SalesTaxRepository taxRepository, ObjectCache cache)
 {
     this.paymentRepo = paymentRepository;
     this.taxRepo     = taxRepository;
     this.cache       = cache;
 }
コード例 #2
0
 public PaymentInfoService()
 {
     _paymentInfoRepository = DependencyManager.Resolve <IPaymentInfoRepository>();
 }
コード例 #3
0
ファイル: PaymentService.cs プロジェクト: jxiaox/weixinpf
 public PaymentService(IPaymentInfoRepository repository)
 {
     _repository = repository;
 }
コード例 #4
0
ファイル: PaymentService.cs プロジェクト: jxiaox/weixinpf
 public PaymentService()
 {
     _repository = DependencyManager.Resolve<IPaymentInfoRepository>();
 }
コード例 #5
0
 public PaymentService(IPaymentInfoRepository repository)
 {
     _repository = repository;
 }
コード例 #6
0
 public AccountingService()
 {
     this.paymentRepo = new PaymentInfoRepository();
     this.taxRepo     = new SalesTaxRepository();
     this.cache       = MemoryCache.Default;
 }