示例#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)
 {
 }