/// <summary> /// Mediator constructor /// </summary> /// <param name="provider">Event and query handlers provider</param> /// <param name="middlewareProvider">Event and query middlewares provider</param> /// <param name="eventDispatchStrategy">Event dispatching strategy to use</param> public Mediator(IHandlerProvider provider, IMiddlewareProvider middlewareProvider, IEventDispatchStrategy eventDispatchStrategy) { _queryHandlerProvider = provider; _eventHandlerProvider = provider; _eventDispatchStrategy = eventDispatchStrategy; _queryMiddlewareProvider = middlewareProvider; _eventMiddlewareProvider = middlewareProvider; }
public BuildPipeline(IMiddlewareProvider <IpipelintContext> ioCProvider) { _ioCProvider = ioCProvider; }