public FeedbackEventContext( EndpointId id, IHubClientFactory hubClientFactory) { _id = id; _hubClientFactory = hubClientFactory; }
public DomainEventHubHost( EndpointId queryEndpointId, IHubClientFactory hubClientFactory) { _queryEndpointId = queryEndpointId; _hubClientFactory = hubClientFactory; _scheduler = new BlockingScheduler(KeepAlive, Interval); _scheduler.Start(); }
public DomainEventHandlerAdapter( IDomainEventHandler <TEvent> handler, IHubClientFactory hubClientFactory, IEventSerializer <Event <TEvent> > serializer) { _handler = handler; _hubClientFactory = hubClientFactory; _serializer = serializer; }
public DomainCommandHubHost( EndpointId commandEndpointId, EndpointId queryEndpointId, IHubClientFactory hubClientFactory) { _commandEndpointId = commandEndpointId; _queryEndpointId = queryEndpointId; _hubClientFactory = hubClientFactory; _scheduler = new BlockingScheduler(KeepAlive, Interval); }
public ListenerBuilder( TAction action, PublishSettings <Event <TAction> > publishSettings, IHubClientFactory hubClientFactory, IEventSerializerFactory defaultSerializerFactory) { _action = action; _publishSettings = publishSettings; _hubClientFactory = hubClientFactory; _defaultSerializerFactory = defaultSerializerFactory; }
public DomainCommandHandlerAdapter( EndpointId queryEndpointId, IDomainCommandHandler<TCommand> handler, IHubClientFactory hubClientFactory, IEventSerializer<Event<TCommand>> serializer) { _queryEndpointId = queryEndpointId; _handler = handler; _hubClientFactory = hubClientFactory; _serializer = serializer; }
public ActionBuilder(IHubClientFactory hubClientFactory, IEventSerializerFactory defaultSerializerFactory) { _hubClientFactory = hubClientFactory; _defaultSerializerFactory = defaultSerializerFactory; }
public static FeedbackEventContext CreateEventContext <TEvent>(this Event <TEvent> @event, IHubClientFactory hubClientFactory) { return(new FeedbackEventContext(@event.NotificationRecipientId, hubClientFactory)); }