当前位置: 首页>>代码示例>>C#>>正文


C# IFubuRequest类代码示例

本文整理汇总了C#中IFubuRequest的典型用法代码示例。如果您正苦于以下问题:C# IFubuRequest类的具体用法?C# IFubuRequest怎么用?C# IFubuRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IFubuRequest类属于命名空间,在下文中一共展示了IFubuRequest类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: CommandsToPickUpBehaviour

 public CommandsToPickUpBehaviour(IFubuRequest request,IOutputWriter writer,IDocumentSession session)
     : base(PartialBehavior.Ignored)
 {
     this.request = request;
     this.writer = writer;
     this.session = session;
 }
开发者ID:northshoreab,项目名称:Hygia,代码行数:7,代码来源:CommandsToPickUpBehaviour.cs

示例2: TwitterResponseHandler

 public TwitterResponseHandler(IFubuRequest request, IOutputWriter writer, IPartialFactory factory, BehaviorGraph graph)
 {
     _request = request;
     _writer = writer;
     _factory = factory;
     _graph = graph;
 }
开发者ID:RobertTheGrey,项目名称:FubuMVC.Authentication,代码行数:7,代码来源:TwitterResponseHandler.cs

示例3: RenderCssBehavior

 public RenderCssBehavior(IOutputWriter writer, IFubuRequest request)
     : base(PartialBehavior.Executes)
 {
     _writer = writer;
     _request = request;
     _mimeType = "text/css";
 }
开发者ID:sharpoverride,项目名称:fubumvc-examples,代码行数:7,代码来源:RenderCssBehaviour.cs

示例4: FubuSmartRequest

 public FubuSmartRequest(IRequestData data, IObjectConverter converter, IFubuRequest request)
     : base(data, converter)
 {
     _data = data;
     _converter = converter;
     _request = request;
 }
开发者ID:henninga,项目名称:fubumvc,代码行数:7,代码来源:FubuSmartRequest.cs

示例5: MovieViewModelJsonBehavior

 public MovieViewModelJsonBehavior(IOutputWriter writer, IFubuRequest request, IRequestData requestData)
     : base(PartialBehavior.Executes)
 {
     this.writer = writer;
     this.request = request;
     this.requestData = requestData;
 }
开发者ID:squidge,项目名称:fubu101,代码行数:7,代码来源:MovieViewModelJSONBehavior.cs

示例6: AjaxValidationFailureHandler

 public AjaxValidationFailureHandler(IAjaxContinuationResolver resolver, IOutputWriter output, IFubuRequest request, ValidationSettings settings)
 {
     _resolver = resolver;
     _output = output;
     _request = request;
     _settings = settings;
 }
开发者ID:stevematney,项目名称:fubuvalidation,代码行数:7,代码来源:IAjaxValidationFailureHandler.cs

示例7: MessageFubuDiagnostics

 public MessageFubuDiagnostics(IQueueMessageRetrieval queueMessageRetrieval, IEnvelopeSerializer serializer,
     IFubuRequest fubuRequest)
 {
     _queueMessageRetrieval = queueMessageRetrieval;
     _serializer = serializer;
     _fubuRequest = fubuRequest;
 }
开发者ID:RyanHauert,项目名称:FubuTransportation,代码行数:7,代码来源:MessageFubuDiagnostics.cs

示例8: RenderJavaScriptBehavior

 public RenderJavaScriptBehavior(IOutputWriter writer, IFubuRequest request)
     : base(PartialBehavior.Executes)
 {
     _writer = writer;
     _request = request;
     _mimeType = "text/javascript";
 }
开发者ID:sharpoverride,项目名称:fubumvc-examples,代码行数:7,代码来源:RenderJavascriptBehaviour.cs

示例9: AuthorizationBehavior

 public AuthorizationBehavior(IAuthorizationFailureHandler failureHandler, IFubuRequest request, IEnumerable<IAuthorizationPolicy> policies)
     : base(PartialBehavior.Executes)
 {
     _failureHandler = failureHandler;
     _request = request;
     _policies = policies;
 }
开发者ID:Reconcadre,项目名称:fubumvc,代码行数:7,代码来源:AuthorizationBehavior.cs

示例10: FubuContinuationFailurePolicy

 public FubuContinuationFailurePolicy(Func<Type, bool> predicate, IFubuRequest request, 
     FubuContinuation continuation, ContinuationHandler handler)
 {
     _predicate = predicate;
     _handler = handler;
     _continuation = continuation;
     _request = request;
 }
开发者ID:petejohanson,项目名称:fubumvc,代码行数:8,代码来源:FubuContinuationFailurePolicy.cs

示例11: DiagnosticBehavior

        public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IRequestHistoryCache history, IDebugCallHandler debugCallHandler, IFubuRequest request)
        {
            _report = report;
            _debugCallHandler = debugCallHandler;
            _detector = detector;

            _initialize = () => history.AddReport(report, request.Get<CurrentRequest>());
        }
开发者ID:jemacom,项目名称:fubumvc,代码行数:8,代码来源:DiagnosticBehavior.cs

示例12: ContinuationHandler

 public ContinuationHandler(IUrlRegistry registry, IOutputWriter writer, IFubuRequest request, IPartialFactory factory, IChainResolver resolver)
 {
     _registry = registry;
     _writer = writer;
     _request = request;
     _factory = factory;
     _resolver = resolver;
 }
开发者ID:DarthFubuMVC,项目名称:fubumvc,代码行数:8,代码来源:ContinuationHandler.cs

示例13: MustBeAuthenticatedBehaviour

 public MustBeAuthenticatedBehaviour(ISecurityContext securityContext, IOutputWriter writer, IUrlRegistry urls, IFubuRequest request)
     : base(PartialBehavior.Ignored)
 {
     _securityContext = securityContext;
     _writer = writer;
     _urls = urls;
     _request = request;
 }
开发者ID:cmdrkeem,项目名称:FuBuPlanner,代码行数:8,代码来源:MustBeAuthenticatedBehaviour.cs

示例14: IsAuthorized

        public virtual AuthorizationRight IsAuthorized(IFubuRequest request, IEnumerable<IAuthorizationPolicy> policies)
        {
            // Check every authorization policy for this endpoint
            var rights = policies.Select(x => x.RightsFor(request));

            // Combine the results
            return AuthorizationRight.Combine(rights);
        }
开发者ID:jemacom,项目名称:fubumvc,代码行数:8,代码来源:AuthorizationPolicyExecutor.cs

示例15: FubuContinuationFailurePolicy

 public FubuContinuationFailurePolicy(Func<ValidationFailure, bool> predicate, IFubuRequest request,
     IFubuContinuationResolver continuationResolver, IValidationContinuationHandler handler)
 {
     _predicate = predicate;
     _handler = handler;
     _continuationResolver = continuationResolver;
     _request = request;
 }
开发者ID:krisdages,项目名称:fubuvalidation,代码行数:8,代码来源:FubuContinuationFailurePolicy.cs


注:本文中的IFubuRequest类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。