/// <summary> /// Supplies the specified handler configuration, so that we can register subscribers and the handler factory used to create instances of them /// </summary> /// <param name="handlerConfiguration">The handler configuration.</param> /// <returns>INeedPolicy.</returns> public INeedPolicy Handlers(HandlerConfiguration handlerConfiguration) { _registry = handlerConfiguration.SubscriberRegistry; _handlerFactory = handlerConfiguration.HandlerFactory; _asyncHandlerFactory = handlerConfiguration.AsyncHandlerFactory; return(this); }
/// <summary> /// Supplies the specified handler configuration, so that we can register subscribers and the handler factory used to create instances of them /// </summary> /// <param name="handlerConfiguration">The handler configuration.</param> /// <returns>INeedPolicy.</returns> public INeedPolicy Handlers(HandlerConfiguration handlerConfiguration) { _registry = handlerConfiguration.SubscriberRegistry; _handlerFactory = handlerConfiguration.HandlerFactory; return this; }