コード例 #1
0
 protected DomainServiceBase(
     DomainServiceParameters domainServiceParameters
     )
 {
     UserSessionInfo   = domainServiceParameters.UserSessionInfo;
     GlobalizationInfo = domainServiceParameters.GlobalizationInfo;
     InMemoryBus       = domainServiceParameters.InMemoryBus;
 }
コード例 #2
0
 public ProductDomainService(
     DomainServiceParameters domainServiceParameters,
     ISystemUserFactory systemUserFactory,
     IProductFactory productFactory,
     IProductIsValidToImportValidator productIsValidToImportValidator
     ) : base(domainServiceParameters)
 {
     _systemUserFactory = systemUserFactory;
     _productFactory    = productFactory;
     _productIsValidToImportValidator = productIsValidToImportValidator;
 }
コード例 #3
0
 public CustomerDomainService(
     DomainServiceParameters domainServiceParameters,
     ISystemUserFactory systemUserFactory,
     ICustomerFactory customerFactory,
     ICustomerIsValidToImportValidator customerIsValidToImportValidator
     ) : base(domainServiceParameters)
 {
     _systemUserFactory = systemUserFactory;
     _customerFactory   = customerFactory;
     _customerIsValidToImportValidator = customerIsValidToImportValidator;
 }
コード例 #4
0
 public OrderDomainService(
     DomainServiceParameters domainServiceParameters,
     ISystemUserFactory systemUserFactory,
     IOrderFactory orderFactory,
     IOrderIsValidToImportValidator orderIsValidToImportValidator
     ) : base(domainServiceParameters)
 {
     _systemUserFactory             = systemUserFactory;
     _orderFactory                  = orderFactory;
     _orderIsValidToImportValidator = orderIsValidToImportValidator;
 }
コード例 #5
0
 protected DomainService(
     DomainServiceParameters domainServiceParameters
     ) : base(domainServiceParameters)
 {
 }
コード例 #6
0
 public SystemUserDomainService(
     DomainServiceParameters domainServiceParameters
     ) : base(domainServiceParameters)
 {
 }
コード例 #7
0
 public CustomerDomainService(
     DomainServiceParameters domainServiceParameters
     ) : base(domainServiceParameters)
 {
 }