public HandlerFactory(RequestHandlerAttribute attribute, IAdaptAnInversionOfControlContainer container, IRequestContext requestContext) { this.attribute = attribute; this.container = container; this.requestContext = requestContext; messageType = typeof(TRequest); }
public ChainofResponsibilityBuilder(IAdaptAnInversionOfControlContainer container) { this.container = container; var handlerGenericType = typeof(IHandleRequests <>); implicithandlerType = handlerGenericType.MakeGenericType(typeof(TRequest)); }
public RequestContext(IAdaptAnInversionOfControlContainer container) { Container = container; Bag = new Dictionary<string, object>(); }
public CommandProcessor(IAdaptAnInversionOfControlContainer container, IAmARequestContextFactory requestContextFactory) { this.container = container; this.requestContextFactory = requestContextFactory; }
public RequestContext Create(IAdaptAnInversionOfControlContainer container) { return new RequestContext(container); }