Пример #1
0
        //private readonly IRepository repository;

        public ExecuteHandler(
            HandlerFinder handlerTypes,
            IFactory factory,
            IPageMapper mapper)
        {
            this.handlerTypes = handlerTypes;
            this.factory      = factory;
            this.mapper       = mapper;
        }
Пример #2
0
        //private readonly IRepository repository;

        public MessageBus(
            HandlerFinder handlerTypes,
            IFactory factory,
            IPageMapper mapper
            //IRepository repository,
            //IClaimsProvider authenticator
            )
        {
            this.handlerTypes = handlerTypes;
            this.factory      = factory;
            this.mapper       = mapper;
            //this.authenticator = authenticator;
        }