public OAuth2ResponseHandler(IFubuRequest request, IOutputWriter writer, IPartialFactory factory, BehaviorGraph graph)
 {
     _request = request;
     _writer  = writer;
     _factory = factory;
     _graph   = graph;
 }
 public ActionExceptionWrapper(IFubuRequest request, IPartialFactory factory, IOutputWriter writer, ILogger logger)
 {
     _request = request;
     _factory = factory;
     _writer  = writer;
     _logger  = logger;
 }
Пример #3
0
 public PartialInvoker(IPartialFactory factory, IFubuRequest request, IAuthorizationPreviewService authorization, ITypeResolver types)
 {
     _factory       = factory;
     _request       = request;
     _authorization = authorization;
     _types         = types;
 }
 public TwitterResponseHandler(IFubuRequest request, IOutputWriter writer, IPartialFactory factory, BehaviorGraph graph)
 {
     _request = request;
     _writer = writer;
     _factory = factory;
     _graph = graph;
 }
Пример #5
0
 public MessageExecutor(IPartialFactory factory, IFubuRequest request, IChainResolver resolver, ILogger logger, Envelope envelope)
 {
     _factory  = factory;
     _request  = request;
     _resolver = resolver;
     _logger   = logger;
     _envelope = envelope;
 }
 public MessageExecutor(IPartialFactory factory, IFubuRequest request, HandlerGraph graph, ILogger logger, Envelope envelope)
 {
     _factory = factory;
     _request = request;
     _graph = graph;
     _logger = logger;
     _envelope = envelope;
 }
Пример #7
0
 public ContinuationHandler(IUrlRegistry registry, IOutputWriter writer, IFubuRequest request, IPartialFactory factory, IChainResolver resolver)
 {
     _registry = registry;
     _writer = writer;
     _request = request;
     _factory = factory;
     _resolver = resolver;
 }
 public ValidationContinuationHandler(IUrlRegistry registry, IOutputWriter writer, IFubuRequest request,
     IPartialFactory factory)
 {
     _registry = registry;
     _writer = writer;
     _request = request;
     _factory = factory;
 }
Пример #9
0
 public MessageExecutor(IPartialFactory factory, IFubuRequest request, HandlerGraph graph, ILogger logger, Envelope envelope)
 {
     _factory  = factory;
     _request  = request;
     _graph    = graph;
     _logger   = logger;
     _envelope = envelope;
 }
Пример #10
0
 public ContinuationHandler(IUrlRegistry registry, IOutputWriter writer, IFubuRequest request, IPartialFactory factory, IChainResolver resolver)
 {
     _registry = registry;
     _writer   = writer;
     _request  = request;
     _factory  = factory;
     _resolver = resolver;
 }
Пример #11
0
 public MessageExecutor(IPartialFactory factory, IFubuRequest request, IChainResolver resolver, ILogger logger, Envelope envelope)
 {
     _factory = factory;
     _request = request;
     _resolver = resolver;
     _logger = logger;
     _envelope = envelope;
 }
Пример #12
0
 public AjaxExceptionWrapper(IFubuRequest request, IPartialFactory factory, IJsonWriter writer,
     HttpContext httpContext, IOutputWriter output)
 {
     _request = request;
     _writer = writer;
     _httpContext = httpContext;
     _output = output;
 }
Пример #13
0
 public PartialInvoker(IPartialFactory factory, IFubuRequest request, IAuthorizationPreviewService authorization, IOutputWriter writer, ISetterBinder setterBinder, IChainResolver resolver)
 {
     _factory       = factory;
     _request       = request;
     _authorization = authorization;
     _writer        = writer;
     _setterBinder  = setterBinder;
     _resolver      = resolver;
 }
Пример #14
0
 public ContinuationHandler(
     IUrlRegistry registry,
     IOutputWriter writer,
     IFubuRequest request,
     IPartialFactory factory)
     : base(PartialBehavior.Ignored)
 {
     _registry = registry;
     _writer = writer;
     _request = request;
     _factory = factory;
 }
Пример #15
0
 public ContinuationHandler(
     IUrlRegistry registry,
     IOutputWriter writer,
     IFubuRequest request,
     IPartialFactory factory)
     : base(PartialBehavior.Ignored)
 {
     _registry = registry;
     _writer   = writer;
     _request  = request;
     _factory  = factory;
 }
Пример #16
0
        public void SetUp()
        {
            _page           = MockRepository.GenerateStub <IFubuPage>();
            _partialFactory = MockRepository.GenerateStub <IPartialFactory>();
            _behavior       = MockRepository.GenerateStub <IActionBehavior>();

            _partialFactory.Stub(f => f.BuildPartial(typeof(InputModel))).Return(_behavior);
            _page.Stub(p => p.Get <IPartialFactory>()).Return(_partialFactory);


            _request = MockRepository.GenerateStub <IFubuRequest>();
            _page.Stub(p => p.Get <IFubuRequest>()).Return(_request);
        }
Пример #17
0
 public LoginResultBehavior(
     IFubuRequest request, 
     IUrlRegistry registry,
     IOutputWriter writer,
     IActionBehavior innerBehavior,
     IPartialFactory factory
 )
 {
     this.request = request;
     this.registry = registry;
     this.writer = writer;
     this.innerBehavior = innerBehavior;
     this.factory = factory;
 }
Пример #18
0
        public void SetUp()
        {
            _page = MockRepository.GenerateStub<IFubuPage>();
            _partialFactory = MockRepository.GenerateStub<IPartialFactory>();
            _behavior = new WrappingBehavior();
            PartialInvokingHandler = MockRepository.GenerateStub<IPartialInvokingHandler>();
            _behavior.InsideBehavior = new PartialHandlingBehavior();

            _partialFactory.Stub(f => f.BuildPartial(typeof(InputModel))).Return(_behavior);
            _page.Stub(p => p.Get<IPartialFactory>()).Return(_partialFactory);

            _request = MockRepository.GenerateStub<IFubuRequest>();
            _page.Stub(p => p.Get<IFubuRequest>()).Return(_request);
        }
Пример #19
0
        public void SetUp()
        {
            _page                    = MockRepository.GenerateStub <IFubuPage>();
            _partialFactory          = MockRepository.GenerateStub <IPartialFactory>();
            _behavior                = new WrappingBehavior();
            PartialInvokingHandler   = MockRepository.GenerateStub <IPartialInvokingHandler>();
            _behavior.InsideBehavior = new PartialHandlingBehavior();

            _partialFactory.Stub(f => f.BuildPartial(typeof(InputModel))).Return(_behavior);
            _page.Stub(p => p.Get <IPartialFactory>()).Return(_partialFactory);

            _request = MockRepository.GenerateStub <IFubuRequest>();
            _page.Stub(p => p.Get <IFubuRequest>()).Return(_request);
        }
Пример #20
0
 public DiagnosticsDebugCallHandler(IDebugReport report, IFubuRequest request, IPartialFactory partialFactory)
 {
     _report         = report;
     _partialFactory = partialFactory;
     _request        = request;
 }
Пример #21
0
 public UnknownObjectBehavior(IFubuRequest request, IPartialFactory factory, IActionBehavior inner)
 {
     _request = request;
     _inner = inner;
     _factory = factory;
 }
Пример #22
0
 public FubuPartialService(IPartialFactory factory, IOutputWriter writer, IChainResolver chainResolver)
 {
     _factory       = factory;
     _writer        = writer;
     _chainResolver = chainResolver;
 }
Пример #23
0
        public void SetUp()
        {
            _page = MockRepository.GenerateStub<IFubuPage>();
            _partialFactory = MockRepository.GenerateStub<IPartialFactory>();
            _behavior = MockRepository.GenerateStub<IActionBehavior>();

            _partialFactory.Stub(f => f.BuildPartial(typeof (InputModel))).Return(_behavior);
            _page.Stub(p => p.Get<IPartialFactory>()).Return(_partialFactory);

            _request = MockRepository.GenerateStub<IFubuRequest>();
            _page.Stub(p => p.Get<IFubuRequest>()).Return(_request);
        }
 public FubuPartialService(IPartialFactory factory, IOutputWriter writer, IChainResolver chainResolver)
 {
     _factory = factory;
     _writer = writer;
     _chainResolver = chainResolver;
 }
Пример #25
0
 public JsonValidationFailurePolicy(IFubuRequest request, IPartialFactory factory)
 {
     _request = request;
     _factory = factory;
 }
 public JsonValidationFailurePolicy(IFubuRequest request, IPartialFactory factory)
 {
     _request = request;
     _factory = factory;
 }
Пример #27
0
 public CrudErrorWrapperBehavior(IFubuRequest fubuRequest, IPartialFactory partialFactory)
     : base(PartialBehavior.Executes)
 {
     _partialFactory = partialFactory;
     _fubuRequest = fubuRequest;
 }
Пример #28
0
 public UnknownObjectBehavior(IFubuRequest request, IPartialFactory factory, IActionBehavior inner)
 {
     _request = request;
     _inner   = inner;
     _factory = factory;
 }
Пример #29
0
 public SaveResultHandler(IFubuRequest request, IPartialFactory factory, IUrlRegistry registry,
     IOutputWriter writer)
     : base(PartialBehavior.Ignored)
 {
     _request = request;
     _factory = factory;
     _registry = registry;
     _writer = writer;
 }
Пример #30
0
 public DiagnosticsDebugCallHandler(IDebugReport report, IFubuRequest request, IPartialFactory partialFactory)
 {
     _report = report;
     _partialFactory = partialFactory;
     _request = request;
 }