public EventController(IRepositoryManager manager, IMapper mapper, IEventMatcher matcher, IWebHostEnvironment appEnvironment) { _repository = manager; _mapper = mapper; _matcher = matcher; _appEnvironment = appEnvironment; }
public MatcherWithAction(IEventMatcher matcher, IAction action) { matcher.AssertNotNull(nameof(matcher)); action.AssertNotNull(nameof(action)); this.matcher = matcher; this.action = action; }
public MatcherWithAction(IEventMatcher matcher, IAction action) { Ensure.ArgumentNotNull(matcher, nameof(matcher)); Ensure.ArgumentNotNull(action, nameof(action)); this.matcher = matcher; this.action = action; }
public SubscriptionMessage(INotificationChannel notificationChannel, SubscriptionId subscriptionId, IEventMatcher eventMatcher) { NotificationChannel = notificationChannel; SubscriptionId = subscriptionId; EventMatcher = eventMatcher; }
public EventProcessor(IEventMatcher eventMatcher, IActionExecutor actionExecutor) { _eventMatcher = eventMatcher; _actionExecutor = actionExecutor; }