internal HandlerProcessor(THandler handler, IDependencyResolver dependencyResolver, HandlerProcessorFactory handlerProcessorFactory, HandlerContext parentContext) { if (parentContext == null) { throw new ParentContextIsNullException(); } _handler = handler; _dependencyResolver = dependencyResolver; _handlerProcessorFactory = handlerProcessorFactory; _parentContext = parentContext; }
public HandlerContext(HandlerProcessorFactory handlerProcessorFactory, IUnitOfWork currentUnitOfWork) { HandlerProcessorFactory = handlerProcessorFactory; CurrentUnitOfWork = currentUnitOfWork; }
internal HandlerProcessor(THandler handler, IDependencyResolver dependencyResolver, HandlerProcessorFactory handlerProcessorFactory) { _handler = handler; _dependencyResolver = dependencyResolver; _handlerProcessorFactory = handlerProcessorFactory; }