public TestController(
     IDistributedEventBus distributedEventBus,
     IPaymentAppService paymentAppService)
 {
     _distributedEventBus = distributedEventBus;
     _paymentAppService   = paymentAppService;
 }
Exemplo n.º 2
0
 public AggregateReRouteAppService(IAggregateReRouteRepository aggregateReRouteRepository,
                                   IDistributedEventBus distributedEventBus
                                   )
 {
     _aggregateReRouteRepository = aggregateReRouteRepository;
     _distributedEventBus        = distributedEventBus;
 }
 public MessageSender(
     IDistributedEventBus eventBus,
     ISnowflakeIdrGenerator snowflakeIdrGenerator)
 {
     EventBus = eventBus;
     SnowflakeIdrGenerator = snowflakeIdrGenerator;
 }
Exemplo n.º 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;
 }
Exemplo n.º 5
0
 public UnitOfWorkEventPublisher(
     ILocalEventBus localEventBus,
     IDistributedEventBus distributedEventBus)
 {
     _localEventBus       = localEventBus;
     _distributedEventBus = distributedEventBus;
 }
 public OrderCreatedEventHandler(
     ICurrentTenant currentTenant,
     IDistributedEventBus distributedEventBus)
 {
     _currentTenant       = currentTenant;
     _distributedEventBus = distributedEventBus;
 }
Exemplo n.º 7
0
 public CurrencyManagementAppService(
     ICurrencyRepository repository
     ) : base(repository)
 {
     _repository = repository;
     EventBus    = NullDistributedEventBus.Instance;
 }
Exemplo n.º 8
0
 public CancelPaymentEventHandler(
     IOrderRepository orderRepository,
     IDistributedEventBus distributedEventBus)
 {
     _orderRepository     = orderRepository;
     _distributedEventBus = distributedEventBus;
 }
Exemplo n.º 9
0
 public App1MessagingService(
     FS.LineNotify.ILineNotifyGateway lineNotifyGateway,
     IDistributedEventBus distributedEventBus
     )
 {
     _lineNotifyGateway   = lineNotifyGateway;
     _distributedEventBus = distributedEventBus;
 }
Exemplo n.º 10
0
 public OcelotAppService(IOcelotRepository ocelotRepository,
                         IOcelotManager ocelotManager,
                         IDistributedEventBus distributedEventBus) : base(ocelotRepository)
 {
     OcelotRepository    = ocelotRepository;
     OcelotManager       = ocelotManager;
     DistributedEventBus = distributedEventBus;
 }
Exemplo n.º 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;
 }
Exemplo n.º 13
0
        public ChatController(IProducer producer, IDistributedEventBus distributedEventBus, IChatAppServices chatAppServices, IKafkaProducer kafkaProducer)
        {
            _producer            = producer;
            _distributedEventBus = distributedEventBus;
            _chatAppServices     = chatAppServices;

            _kafkaProducer = kafkaProducer;
        }
Exemplo n.º 14
0
 public ReRouteAppService(
     IReRouteRepository reRouteRepository,
     IDistributedEventBus distributedEventBus
     )
 {
     _reRouteRepository   = reRouteRepository;
     _distributedEventBus = distributedEventBus;
 }
 public SampleAppService(
     IRepository <Sample> sampleRepository,
     IDistributedEventBus distributedEvent
     )
 {
     _sampleRepository    = sampleRepository;
     _distributedEventBus = distributedEvent;
 }
Exemplo n.º 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;
 }
Exemplo n.º 19
0
 public LineNotifyWebhook(
     IDistributedEventBus distributedEventBus,
     ILineNotifyGateway lineNotifyGateway
     )
 {
     LocalizationResource = typeof(LineNotifyResource);
     _distributedEventBus = distributedEventBus;
     _lineNotifyGateway   = lineNotifyGateway;
 }
Exemplo n.º 20
0
 public DefaultProductInventoryProvider(
     IUnitOfWorkManager unitOfWorkManager,
     IDistributedEventBus distributedEventBus,
     IProductInventoryRepository productInventoryRepository)
 {
     _unitOfWorkManager          = unitOfWorkManager;
     _distributedEventBus        = distributedEventBus;
     _productInventoryRepository = productInventoryRepository;
 }
Exemplo n.º 21
0
 public RefundOrderEventHandler(
     IJsonSerializer jsonSerializer,
     IPaymentRepository paymentRepository,
     IDistributedEventBus distributedEventBus)
 {
     _jsonSerializer      = jsonSerializer;
     _paymentRepository   = paymentRepository;
     _distributedEventBus = distributedEventBus;
 }
Exemplo n.º 22
0
 public PaymentAppService(
     IDistributedEventBus distributedEventBus,
     IOrderAppService orderAppService,
     IPaymentRepository repository) : base(repository)
 {
     _distributedEventBus = distributedEventBus;
     _orderAppService     = orderAppService;
     _repository          = repository;
 }
Exemplo n.º 23
0
 public TenantAppService(
     ITenantRepository tenantRepository,
     ITenantManager tenantManager,
     IDistributedEventBus eventBus)
 {
     EventBus         = eventBus;
     TenantRepository = tenantRepository;
     TenantManager    = tenantManager;
 }
Exemplo n.º 24
0
 public BlogFeatureAdminAppService(
     IBlogFeatureRepository blogFeatureRepository,
     BlogFeatureManager blogFeatureManager,
     IDistributedEventBus eventBus)
 {
     BlogFeatureRepository = blogFeatureRepository;
     BlogFeatureManager    = blogFeatureManager;
     EventBus = eventBus;
 }
Exemplo n.º 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;
 }
Exemplo n.º 27
0
 public TenantAppService(
     ITenantRepository tenantRepository,
     ITenantManager tenantManager,
     IDataSeeder dataSeeder,
     IDistributedEventBus distributedEventBus)
 {
     DataSeeder          = dataSeeder;
     TenantRepository    = tenantRepository;
     TenantManager       = tenantManager;
     DistributedEventBus = distributedEventBus;
 }
Exemplo n.º 28
0
 public PaymentSynchronizer(
     IObjectMapper objectMapper,
     ICurrentTenant currentTenant,
     IPaymentRepository paymentRepository,
     IDistributedEventBus distributedEventBus)
 {
     _objectMapper        = objectMapper;
     _currentTenant       = currentTenant;
     _paymentRepository   = paymentRepository;
     _distributedEventBus = distributedEventBus;
 }
Exemplo n.º 29
0
 public PaymentAppService(
     IPayableChecker payableChecker,
     IDistributedEventBus distributedEventBus,
     IOrderAppService orderAppService,
     IPaymentRepository repository) : base(repository)
 {
     _payableChecker      = payableChecker;
     _distributedEventBus = distributedEventBus;
     _orderAppService     = orderAppService;
     _repository          = repository;
 }
Exemplo n.º 30
0
 public CommentPublicAppService(
     ICommentRepository commentRepository,
     ICmsUserLookupService cmsUserLookupService,
     IDistributedEventBus distributedEventBus,
     CommentManager commentManager)
 {
     CommentRepository    = commentRepository;
     CmsUserLookupService = cmsUserLookupService;
     DistributedEventBus  = distributedEventBus;
     CommentManager       = commentManager;
 }