public TestController(
     IDistributedEventBus distributedEventBus,
     IPaymentAppService paymentAppService)
 {
     _distributedEventBus = distributedEventBus;
     _paymentAppService   = paymentAppService;
 }
예제 #2
0
 public AggregateReRouteAppService(IAggregateReRouteRepository aggregateReRouteRepository,
                                   IDistributedEventBus distributedEventBus
                                   )
 {
     _aggregateReRouteRepository = aggregateReRouteRepository;
     _distributedEventBus        = distributedEventBus;
 }
 public MessageSender(
     IDistributedEventBus eventBus,
     ISnowflakeIdrGenerator snowflakeIdrGenerator)
 {
     EventBus = eventBus;
     SnowflakeIdrGenerator = snowflakeIdrGenerator;
 }
예제 #4
0
 public FlashSalePlanAppService(
     IFlashSalePlanRepository flashSalePlanRepository,
     IProductAppService productAppService,
     IDistributedCache <FlashSalePlanPreOrderCacheItem> tokenDistributedCache,
     IDistributedCache <FlashSalePlanCacheItem, Guid> planDistributedCache,
     IDistributedEventBus distributedEventBus,
     IFlashSaleResultRepository flashSaleResultRepository,
     IAbpDistributedLock distributedLock,
     IFlashSalePlanHasher flashSalePlanHasher,
     IFlashSaleInventoryManager flashSaleInventoryManager,
     IDistributedCache distributedCache,
     IOptionsMonitor <FlashSalesOptions> optionsMonitor)
     : base(flashSalePlanRepository)
 {
     FlashSalePlanRepository   = flashSalePlanRepository;
     ProductAppService         = productAppService;
     PreOrderDistributedCache  = tokenDistributedCache;
     PlanDistributedCache      = planDistributedCache;
     DistributedEventBus       = distributedEventBus;
     FlashSaleResultRepository = flashSaleResultRepository;
     DistributedLock           = distributedLock;
     FlashSalePlanHasher       = flashSalePlanHasher;
     FlashSaleInventoryManager = flashSaleInventoryManager;
     DistributedCache          = distributedCache;
     Options = optionsMonitor.CurrentValue;
 }
예제 #5
0
 public UnitOfWorkEventPublisher(
     ILocalEventBus localEventBus,
     IDistributedEventBus distributedEventBus)
 {
     _localEventBus       = localEventBus;
     _distributedEventBus = distributedEventBus;
 }
 public OrderCreatedEventHandler(
     ICurrentTenant currentTenant,
     IDistributedEventBus distributedEventBus)
 {
     _currentTenant       = currentTenant;
     _distributedEventBus = distributedEventBus;
 }
예제 #7
0
 public CurrencyManagementAppService(
     ICurrencyRepository repository
     ) : base(repository)
 {
     _repository = repository;
     EventBus    = NullDistributedEventBus.Instance;
 }
예제 #8
0
 public CancelPaymentEventHandler(
     IOrderRepository orderRepository,
     IDistributedEventBus distributedEventBus)
 {
     _orderRepository     = orderRepository;
     _distributedEventBus = distributedEventBus;
 }
예제 #9
0
 public App1MessagingService(
     FS.LineNotify.ILineNotifyGateway lineNotifyGateway,
     IDistributedEventBus distributedEventBus
     )
 {
     _lineNotifyGateway   = lineNotifyGateway;
     _distributedEventBus = distributedEventBus;
 }
예제 #10
0
 public OcelotAppService(IOcelotRepository ocelotRepository,
                         IOcelotManager ocelotManager,
                         IDistributedEventBus distributedEventBus) : base(ocelotRepository)
 {
     OcelotRepository    = ocelotRepository;
     OcelotManager       = ocelotManager;
     DistributedEventBus = distributedEventBus;
 }
예제 #11
0
 public ChatAppservice(IRepository <Message, Guid> messageRepository, IIdentityUserRepository identityUserRepository, ILookupNormalizer lookupNormalizer, IDistributedEventBus distributedEventBus, IProducer producer)
 {
     _messageRepository      = messageRepository;
     _identityUserRepository = identityUserRepository;
     _lookupNormalizer       = lookupNormalizer;
     _distributedEventBus    = distributedEventBus;
     _producer = producer;
 }
 public NotificationSender(
     IDistributedEventBus distributedEventBus,
     IOptions <AbpNotificationOptions> options)
 {
     Options             = options.Value;
     DistributedEventBus = distributedEventBus;
     Logger = NullLogger <NotificationSender> .Instance;
 }
예제 #13
0
        public ChatController(IProducer producer, IDistributedEventBus distributedEventBus, IChatAppServices chatAppServices, IKafkaProducer kafkaProducer)
        {
            _producer            = producer;
            _distributedEventBus = distributedEventBus;
            _chatAppServices     = chatAppServices;

            _kafkaProducer = kafkaProducer;
        }
예제 #14
0
 public ReRouteAppService(
     IReRouteRepository reRouteRepository,
     IDistributedEventBus distributedEventBus
     )
 {
     _reRouteRepository   = reRouteRepository;
     _distributedEventBus = distributedEventBus;
 }
 public SampleAppService(
     IRepository <Sample> sampleRepository,
     IDistributedEventBus distributedEvent
     )
 {
     _sampleRepository    = sampleRepository;
     _distributedEventBus = distributedEvent;
 }
예제 #16
0
 public MonitorWorker(
     AbpAsyncTimer timer,
     IServiceScopeFactory serviceScopeFactory,
     IDistributedEventBus distributedEventBus)
     : base(timer, serviceScopeFactory)
 {
     _distributedEventBus = distributedEventBus;
     Timer.Period         = (int)KetumConsts.MonitorWorkerPeriod.TotalMilliseconds;
 }
 public PipelineAppService(
     IRepository <Pipeline, int> pipelineRepository,
     IDistributedEventBus distributedEventBus,
     ICurrentUser currentUser)
 {
     _pipelineRepository  = pipelineRepository;
     _distributedEventBus = distributedEventBus;
     _currentUser         = currentUser;
 }
 public BulkAssetOccupancyResultEventHandler(
     IOrderManager orderManager,
     IOrderRepository orderRepository,
     IDistributedEventBus distributedEventBus)
 {
     _orderManager        = orderManager;
     _orderRepository     = orderRepository;
     _distributedEventBus = distributedEventBus;
 }
예제 #19
0
 public LineNotifyWebhook(
     IDistributedEventBus distributedEventBus,
     ILineNotifyGateway lineNotifyGateway
     )
 {
     LocalizationResource = typeof(LineNotifyResource);
     _distributedEventBus = distributedEventBus;
     _lineNotifyGateway   = lineNotifyGateway;
 }
예제 #20
0
 public DefaultProductInventoryProvider(
     IUnitOfWorkManager unitOfWorkManager,
     IDistributedEventBus distributedEventBus,
     IProductInventoryRepository productInventoryRepository)
 {
     _unitOfWorkManager          = unitOfWorkManager;
     _distributedEventBus        = distributedEventBus;
     _productInventoryRepository = productInventoryRepository;
 }
예제 #21
0
 public RefundOrderEventHandler(
     IJsonSerializer jsonSerializer,
     IPaymentRepository paymentRepository,
     IDistributedEventBus distributedEventBus)
 {
     _jsonSerializer      = jsonSerializer;
     _paymentRepository   = paymentRepository;
     _distributedEventBus = distributedEventBus;
 }
예제 #22
0
 public PaymentAppService(
     IDistributedEventBus distributedEventBus,
     IOrderAppService orderAppService,
     IPaymentRepository repository) : base(repository)
 {
     _distributedEventBus = distributedEventBus;
     _orderAppService     = orderAppService;
     _repository          = repository;
 }
예제 #23
0
 public TenantAppService(
     ITenantRepository tenantRepository,
     ITenantManager tenantManager,
     IDistributedEventBus eventBus)
 {
     EventBus         = eventBus;
     TenantRepository = tenantRepository;
     TenantManager    = tenantManager;
 }
예제 #24
0
 public BlogFeatureAdminAppService(
     IBlogFeatureRepository blogFeatureRepository,
     BlogFeatureManager blogFeatureManager,
     IDistributedEventBus eventBus)
 {
     BlogFeatureRepository = blogFeatureRepository;
     BlogFeatureManager    = blogFeatureManager;
     EventBus = eventBus;
 }
예제 #25
0
 public GlobalConfigurationAppService(
     IGlobalConfigRepository globalConfigRepository,
     ISnowflakeIdGenerator snowflakeIdGenerator,
     IDistributedEventBus distributedEventBus
     )
 {
     _globalConfigRepository = globalConfigRepository;
     _snowflakeIdGenerator   = snowflakeIdGenerator;
     _distributedEventBus    = distributedEventBus;
 }
 public NotificationSender(
     IDistributedEventBus distributedEventBus,
     ISnowflakeIdrGenerator snowflakeIdrGenerator,
     IOptions <AbpNotificationOptions> options)
 {
     Options              = options.Value;
     DistributedEventBus  = distributedEventBus;
     SnowflakeIdGenerator = snowflakeIdrGenerator;
     Logger = NullLogger <NotificationSender> .Instance;
 }
예제 #27
0
 public TenantAppService(
     ITenantRepository tenantRepository,
     ITenantManager tenantManager,
     IDataSeeder dataSeeder,
     IDistributedEventBus distributedEventBus)
 {
     DataSeeder          = dataSeeder;
     TenantRepository    = tenantRepository;
     TenantManager       = tenantManager;
     DistributedEventBus = distributedEventBus;
 }
예제 #28
0
 public PaymentSynchronizer(
     IObjectMapper objectMapper,
     ICurrentTenant currentTenant,
     IPaymentRepository paymentRepository,
     IDistributedEventBus distributedEventBus)
 {
     _objectMapper        = objectMapper;
     _currentTenant       = currentTenant;
     _paymentRepository   = paymentRepository;
     _distributedEventBus = distributedEventBus;
 }
예제 #29
0
 public PaymentAppService(
     IPayableChecker payableChecker,
     IDistributedEventBus distributedEventBus,
     IOrderAppService orderAppService,
     IPaymentRepository repository) : base(repository)
 {
     _payableChecker      = payableChecker;
     _distributedEventBus = distributedEventBus;
     _orderAppService     = orderAppService;
     _repository          = repository;
 }
예제 #30
0
 public CommentPublicAppService(
     ICommentRepository commentRepository,
     ICmsUserLookupService cmsUserLookupService,
     IDistributedEventBus distributedEventBus,
     CommentManager commentManager)
 {
     CommentRepository    = commentRepository;
     CmsUserLookupService = cmsUserLookupService;
     DistributedEventBus  = distributedEventBus;
     CommentManager       = commentManager;
 }