internal HandlerProcessor(THandler handler, IDependencyResolver dependencyResolver, HandlerProcessorFactory handlerProcessorFactory, HandlerContext parentContext)
        {
            if (parentContext == null)
            {
                throw new ParentContextIsNullException();
            }

            _handler                 = handler;
            _dependencyResolver      = dependencyResolver;
            _handlerProcessorFactory = handlerProcessorFactory;
            _parentContext           = parentContext;
        }
Ejemplo n.º 2
0
 public HandlerContext(HandlerProcessorFactory handlerProcessorFactory, IUnitOfWork currentUnitOfWork)
 {
     HandlerProcessorFactory = handlerProcessorFactory;
     CurrentUnitOfWork       = currentUnitOfWork;
 }
 internal HandlerProcessor(THandler handler, IDependencyResolver dependencyResolver, HandlerProcessorFactory handlerProcessorFactory)
 {
     _handler                 = handler;
     _dependencyResolver      = dependencyResolver;
     _handlerProcessorFactory = handlerProcessorFactory;
 }