/// <summary> /// Initializes a new <see cref="SubflowProcessor"/> /// </summary> /// <param name="loggerFactory">The service used to create <see cref="ILogger"/>s</param> /// <param name="context">The current <see cref="IWorkflowRuntimeContext"/></param> /// <param name="activityProcessorFactory">The service used to create <see cref="IWorkflowActivityProcessor"/>s</param> /// <param name="integrationEventBus">The service used to publish and subscribe to integration events</param> /// <param name="options">The service used to access the current <see cref="ApplicationOptions"/></param> /// <param name="activity">The <see cref="V1WorkflowActivity"/> to process</param> /// <param name="state">The <see cref="StateDefinition"/> the <see cref="SubflowReference"/> to process belongs to</param> /// <param name="action">The <see cref="ActionDefinition"/> to process</param> public SubflowProcessor(ILoggerFactory loggerFactory, IWorkflowRuntimeContext context, IWorkflowActivityProcessorFactory activityProcessorFactory, IIntegrationEventBus integrationEventBus, IOptions <ApplicationOptions> options, V1WorkflowActivity activity, StateDefinition state, ActionDefinition action) : base(loggerFactory, context, activityProcessorFactory, options, activity, action) { this.IntegrationEventBus = integrationEventBus; this.State = state; }
public CreateAccountCommandHandler(IAccountVerificationService accountVerificationService, IAccountCreatorService accountCreatorService, IIntegrationEventBus integrationEventBus) { _accountVerificationService = accountVerificationService; _accountCreatorService = accountCreatorService; _integrationEventBus = integrationEventBus; }
/// <summary> /// Initializes a new <see cref="WorkflowActivityProcessor"/> /// </summary> /// <param name="loggerFactory">The service used to create <see cref="ILogger"/>s</param> /// <param name="context">The current <see cref="IWorkflowRuntimeContext"/></param> /// <param name="activityProcessorFactory">The service used to create <see cref="IWorkflowActivityProcessor"/>s</param> /// <param name="integrationEventBus">The service used to publish and subscribe to integration events</param> /// <param name="options">The service used to access the current <see cref="ApplicationOptions"/></param> /// <param name="activity">The <see cref="V1WorkflowActivity"/> to process</param> /// <param name="eventDefinition">The <see cref="ServerlessWorkflow.Sdk.Models.EventDefinition"/> that defines the <see cref="V1Event"/> to consume</param> public ConsumeEventProcessor(ILoggerFactory loggerFactory, IWorkflowRuntimeContext context, IWorkflowActivityProcessorFactory activityProcessorFactory, IIntegrationEventBus integrationEventBus, IOptions <ApplicationOptions> options, V1WorkflowActivity activity, EventDefinition eventDefinition) : base(loggerFactory, context, activityProcessorFactory, options, activity) { this.IntegrationEventBus = integrationEventBus; this.EventDefinition = eventDefinition; }
public ImmediateEventForwarder( ILogger logger, IIntegrationEventBus integrationEventBus) { _logger = logger; _integrationEventBus = integrationEventBus; }
public ArticleApplicationService(ArticleDomainService articleDomainService, IArticleRepository articleRepository, IArticleQueryService articleQueryService, IIntegrationEventBus integrationEventBus) { this._articleDomainService = articleDomainService; this._articleRepository = articleRepository; this._articleQueryService = articleQueryService; this._integrationEventBus = integrationEventBus; }
public ArticleApplicationService(ArticleDomainService articleDomainService, IIntegrationEventBus integrationEventBus, ArticleCategoryDomainService articleCategoryDomainService) { _articleDomainService = articleDomainService; _integrationEventBus = integrationEventBus; _articleCategoryDomainService = articleCategoryDomainService; }
public DeleteAccountCommandHandler(IAccountGetterService accountGetterService, ICommunicationBus communicationBus, IIntegrationEventBus integrationEventBus, IAccountDataConsistencyService accountDataConsistencyService) { _accountGetterService = accountGetterService; _communicationBus = communicationBus; _integrationEventBus = integrationEventBus; _accountDataConsistencyService = accountDataConsistencyService; }
public AnnouncementPreferencesDeletionCompletedIntegrationEventFailureHandler(ILogger logger, IDomainEventStore domainEventStore, IUserRepository userRepository, IIntegrationEventBus integrationEventBus) { _logger = logger; _domainEventStore = domainEventStore; _userRepository = userRepository; _integrationEventBus = integrationEventBus; }
public WeatherForecastController(IOptionsSnapshot <AccountOptions> accountOptions, IMongoDbRepository <UserBehaviorGroup> userBehaviorGroupRepository, IIntegrationEventBus integrationEventBus, ITestNewService testNewService, IMongoDbRepository <UserBehavior> mongoDbRepository) { _accountOptions = accountOptions; _testNewService = testNewService; _mongoDbRepository = mongoDbRepository; _integrationEventBus = integrationEventBus; _userBehaviorGroupRepository = userBehaviorGroupRepository; }
public AccountDeletedIntegrationEventHandler(IUserRepository userRepository, ILogger logger, IIntegrationEventBus integrationEventBus, ICommunicationBus communicationBus) { _userRepository = userRepository; _logger = logger; _integrationEventBus = integrationEventBus; _communicationBus = communicationBus; }
public AccountCreatedIntegrationEventHandler(ICommunicationBus communicationBus, IIntegrationEventBus integrationEventBus, IUserRepository userRepository, ILogger logger) { _communicationBus = communicationBus; _integrationEventBus = integrationEventBus; _userRepository = userRepository; _logger = logger; }
public UserCreationCompletedIntegrationEventHandler(IAccountGetterService accountGetterService, IAccountConfirmationRequestService accountConfirmationRequestService, IIntegrationEventBus integrationEventBus, ILogger logger) { _accountGetterService = accountGetterService; _accountConfirmationRequestService = accountConfirmationRequestService; _integrationEventBus = integrationEventBus; _logger = logger; }
public UserDeletionCompletedIntegrationEventFailureHandler(ILogger logger, IIntegrationEventBus integrationEventBus, IDomainEventStore domainEventStore, IAccountRepository accountRepository) { _logger = logger; _integrationEventBus = integrationEventBus; _domainEventStore = domainEventStore; _accountRepository = accountRepository; }
public UserCreationCompletedIntegrationEventFailureHandler(IAccountGetterService accountGetterService, IAccountDataConsistencyService accountDataConsistencyService, IIntegrationEventBus integrationEventBus, ILogger logger) { _accountGetterService = accountGetterService; _integrationEventBus = integrationEventBus; _logger = logger; _accountDataConsistencyService = accountDataConsistencyService; }
public DeleteRoomForRentAnnouncementPreferenceCommandHandler(IUserGetterService userGetterService, IRoomForRentAnnouncementPreferenceGetterService roomForRentAnnouncementPreferenceGetterService, ICommunicationBus communicationBus, IUserRepository userRepository, IIntegrationEventBus integrationEventBus) { _userGetterService = userGetterService; _roomForRentAnnouncementPreferenceGetterService = roomForRentAnnouncementPreferenceGetterService; _communicationBus = communicationBus; _userRepository = userRepository; _integrationEventBus = integrationEventBus; }
public UpdateUserCommandHandler(IUserGetterService userGetterService, IUserVerificationService userVerificationService, ICommunicationBus communicationBus, IUserRepository userRepository, IIntegrationEventBus integrationEventBus, IBlobContainerService blobContainerService) { _userGetterService = userGetterService; _userVerificationService = userVerificationService; _communicationBus = communicationBus; _userRepository = userRepository; _integrationEventBus = integrationEventBus; _blobContainerService = blobContainerService; }
public ConsumerRegister(ILogger <ConsumerRegister> logger, IServiceScopeFactory serviceScopeFactory, IConsumerClientFactory consumerClientFactory, IIntegrationEventBus integrationEventBus, IConsumerErrHandler consumerErrHandler, IOptions <IntegrationEventBusOptions> options) { _logger = logger; _serviceScopeFactory = serviceScopeFactory; _consumerClientFactory = consumerClientFactory; _integrationEventBus = integrationEventBus; _options = options.Value; _consumerErrHandler = consumerErrHandler; _cts = new CancellationTokenSource(); }
public ExternalLoginInteractor(IAuthorizationService authorizationService, IAccountProviderService accountProviderService, IIntegrationEventBus integrationEventBus, IAuthenticationService authenticationService, IAccountClaimsCreatorService accountClaimsCreatorService, ISignInService signInService, ISignOutService signOutService) { _authorizationService = authorizationService; _accountProviderService = accountProviderService; _integrationEventBus = integrationEventBus; _authenticationService = authenticationService; _accountClaimsCreatorService = accountClaimsCreatorService; _signInService = signInService; _signOutService = signOutService; }
public CreateRoomForRentAnnouncementPreferenceCommandHandler(IUserGetterService userGetterService, ICityVerificationService cityVerificationService, IUserVerificationService userVerificationService, IRoomForRentAnnouncementPreferenceVerificationService roomForRentAnnouncementPreferenceVerificationService, IMapper mapper, ICommunicationBus communicationBus, IUserRepository userRepository, IIntegrationEventBus integrationEventBus) { _userGetterService = userGetterService; _cityVerificationService = cityVerificationService; _userVerificationService = userVerificationService; _roomForRentAnnouncementPreferenceVerificationService = roomForRentAnnouncementPreferenceVerificationService; _mapper = mapper; _communicationBus = communicationBus; _userRepository = userRepository; _integrationEventBus = integrationEventBus; }
public UpdateFlatForRentAnnouncementPreferenceCommandHandler(IUserGetterService userGetterService, ICityVerificationService cityVerificationService, IFlatForRentAnnouncementPreferenceGetterService flatForRentAnnouncementPreferenceGetterService, IUserRepository userRepository, IFlatForRentAnnouncementPreferenceVerificationService flatForRentAnnouncementPreferenceVerificationService, ICommunicationBus communicationBus, IIntegrationEventBus integrationEventBus) { _userGetterService = userGetterService; _cityVerificationService = cityVerificationService; _flatForRentAnnouncementPreferenceGetterService = flatForRentAnnouncementPreferenceGetterService; _flatForRentAnnouncementPreferenceVerificationService = flatForRentAnnouncementPreferenceVerificationService; _communicationBus = communicationBus; _userRepository = userRepository; _integrationEventBus = integrationEventBus; }
public ArticleQueryService(IIntegrationEventBus integrationEventBus, IConfig config, ArticleRepository articleRepository) { _integrationEventBus = integrationEventBus; _integrationEventBus.SubscribeEvent <NewArticleCreatedEvent>(Hanlde); _integrationEventBus.SubscribeEvent <ArticleUpdatedEvent>(Hanlde); _config = config; _articleRepository = articleRepository; _articleDetails = _articleRepository.GetAllEntity().Select(entity => new ArticleEventData() { Id = entity.Id, Title = entity.Title, Content = entity.Content, CategoryId = entity.CategoryId, State = (ArticleDetailState)entity.State, Tags = entity.Tags, CreateDate = entity.CreateDate }).ToList(); }
public IntegrationEventService(T context, IIntegrationEventBus eventBus) { _context = context; _eventBus = eventBus; }
/// <summary> /// Initializes a new <see cref="V1RuntimemetricsDomainEventHandler"/> /// </summary> /// <param name="loggerFactory">The service used to create <see cref="ILogger"/>s</param> /// <param name="mapper">The service used to map objects</param> /// <param name="mediator">The service used to mediate calls</param> /// <param name="integrationEventBus">The service used to publish <see cref="IIntegrationEvent"/>s</param> /// <param name="applicationOptions">The current <see cref="SynapseApplicationOptions"/></param> /// <param name="operationalReports">The <see cref="IRepository"/> used to manage <see cref="V1OperationalReport"/>s</param> public V1RuntimemetricsDomainEventHandler(ILoggerFactory loggerFactory, IMapper mapper, IMediator mediator, IIntegrationEventBus integrationEventBus, IOptions <SynapseApplicationOptions> applicationOptions, IRepository <V1OperationalReport> operationalReports) : base(loggerFactory, mapper, mediator, integrationEventBus, applicationOptions) { this.OperationalReports = operationalReports; }
public PasswordResetTokenRequestService(IIntegrationEventBus integrationEventBus, IOptions <RivaWebApplicationSetting> options) { _integrationEventBus = integrationEventBus; _resetPasswordUrl = options.Value.RivaWebResetPasswordUrl; }
public AnnouncementPreferencesDeletionCompletedIntegrationEventHandler(IIntegrationEventBus integrationEventBus) { _integrationEventBus = integrationEventBus; }
/// <inheritdoc/> public V1CorrelationDomainEventHandler(ILoggerFactory loggerFactory, IMapper mapper, IMediator mediator, IIntegrationEventBus integrationEventBus, IOptions <SynapseApplicationOptions> synapseOptions, IRepository <V1Correlation> aggregates, IRepository <Integration.Models.V1Correlation> projections) : base(loggerFactory, mapper, mediator, integrationEventBus, synapseOptions, aggregates, projections) { }
public IntegrationEventsTask(IIntegrationEventBus eventBus) { _eventBus = eventBus; }
public AnnouncementPreferenceCreationCompletedIntegrationEventFailureHandler(ILogger logger, IUserRevertService userRevertService, IIntegrationEventBus integrationEventBus) { _logger = logger; _userRevertService = userRevertService; _integrationEventBus = integrationEventBus; }
public UserDeletionCompletedIntegrationEventHandler(IIntegrationEventBus integrationEventBus) { _integrationEventBus = integrationEventBus; }
public IntegrationEventsTask(IServiceProvider serviceProvider, IIntegrationEventBus eventBus) : base(serviceProvider) { _eventBus = eventBus; }