本文整理汇总了C#中IFubuRequest类的典型用法代码示例。如果您正苦于以下问题:C# IFubuRequest类的具体用法?C# IFubuRequest怎么用?C# IFubuRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IFubuRequest类属于命名空间,在下文中一共展示了IFubuRequest类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: MessageExecutor
public MessageExecutor(IPartialFactory factory, IFubuRequest request, IChainResolver resolver, ILogger logger, Envelope envelope)
{
_factory = factory;
_request = request;
_resolver = resolver;
_logger = logger;
_envelope = envelope;
}
开发者ID:kingreatwill,项目名称:fubumvc,代码行数:8,代码来源:MessageExecutor.cs
示例17: LoginBehavior
public LoginBehavior(ICurrentHttpRequest httpRequest, IAuthenticationService service, IFubuRequest request, ILoginSuccessHandler handler)
: base(PartialBehavior.Ignored)
{
_httpRequest = httpRequest;
_service = service;
_request = request;
_handler = handler;
}
开发者ID:mtscout6,项目名称:FubuMVC.Authentication,代码行数:8,代码来源:LoginBehavior.cs
示例18: MessageExecutor
public MessageExecutor(IPartialFactory factory, IFubuRequest request, HandlerGraph graph, ILogger logger, Envelope envelope)
{
_factory = factory;
_request = request;
_graph = graph;
_logger = logger;
_envelope = envelope;
}
开发者ID:RyanHauert,项目名称:FubuTransportation,代码行数:8,代码来源:MessageExecutor.cs
示例19: AjaxExceptionWrapper
public AjaxExceptionWrapper(IFubuRequest request, IPartialFactory factory, IJsonWriter writer,
HttpContext httpContext, IOutputWriter output)
{
_request = request;
_writer = writer;
_httpContext = httpContext;
_output = output;
}
开发者ID:uluhonolulu,项目名称:Chpokk,代码行数:8,代码来源:AjaxExceptionWrapper.cs
示例20: ValidationContinuationHandler
public ValidationContinuationHandler(IUrlRegistry registry, IOutputWriter writer, IFubuRequest request,
IPartialFactory factory)
{
_registry = registry;
_writer = writer;
_request = request;
_factory = factory;
}
开发者ID:krisdages,项目名称:fubuvalidation,代码行数:8,代码来源:ValidationContinuationHandler.cs
注:本文中的IFubuRequest类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论