protected void ConfigureRegistration(IMediatorRegistrationConfigurator configurator) { configurator.AddConsumer <InitialConsumer>(); configurator.AddConsumer <SubsequentConsumer>(); configurator.AddRequestClient <InitialRequest>(); configurator.AddRequestClient <SubsequentRequest>(); }
protected void ConfigureRegistration(IMediatorRegistrationConfigurator configurator) { configurator.AddConsumer <EasyAConsumer>(); configurator.AddConsumer <EasyBConsumer>(); configurator.ConfigureMediator((context, cfg) => { ConfigureFilters(context, cfg); }); }
protected void ConfigureRegistration(IMediatorRegistrationConfigurator configurator) { configurator.AddConsumer <PingConsumer>(); configurator.AddRequestClient <Ping>(); configurator.ConfigureMediator((context, cfg) => { LogContext.ConfigureCurrentLogContext(LoggerFactory); ConfigureFilters(context, cfg); }); }
protected void ConfigureRegistration(IMediatorRegistrationConfigurator configurator) { configurator.AddConsumer <SimplerConsumer>(); }
protected void ConfigureRegistration(IMediatorRegistrationConfigurator configurator) { configurator.AddConsumer <OrderConsumer>(); configurator.AddSaga <OrderSaga>() .InMemoryRepository(); }