本文整理汇总了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;
}
示例2: TwitterResponseHandler
public TwitterResponseHandler(IFubuRequest request, IOutputWriter writer, IPartialFactory factory, BehaviorGraph graph)
{
_request = request;
_writer = writer;
_factory = factory;
_graph = graph;
}
示例3: RenderCssBehavior
public RenderCssBehavior(IOutputWriter writer, IFubuRequest request)
: base(PartialBehavior.Executes)
{
_writer = writer;
_request = request;
_mimeType = "text/css";
}
示例4: FubuSmartRequest
public FubuSmartRequest(IRequestData data, IObjectConverter converter, IFubuRequest request)
: base(data, converter)
{
_data = data;
_converter = converter;
_request = request;
}
示例5: MovieViewModelJsonBehavior
public MovieViewModelJsonBehavior(IOutputWriter writer, IFubuRequest request, IRequestData requestData)
: base(PartialBehavior.Executes)
{
this.writer = writer;
this.request = request;
this.requestData = requestData;
}
示例6: AjaxValidationFailureHandler
public AjaxValidationFailureHandler(IAjaxContinuationResolver resolver, IOutputWriter output, IFubuRequest request, ValidationSettings settings)
{
_resolver = resolver;
_output = output;
_request = request;
_settings = settings;
}
示例7: MessageFubuDiagnostics
public MessageFubuDiagnostics(IQueueMessageRetrieval queueMessageRetrieval, IEnvelopeSerializer serializer,
IFubuRequest fubuRequest)
{
_queueMessageRetrieval = queueMessageRetrieval;
_serializer = serializer;
_fubuRequest = fubuRequest;
}
示例8: RenderJavaScriptBehavior
public RenderJavaScriptBehavior(IOutputWriter writer, IFubuRequest request)
: base(PartialBehavior.Executes)
{
_writer = writer;
_request = request;
_mimeType = "text/javascript";
}
示例9: AuthorizationBehavior
public AuthorizationBehavior(IAuthorizationFailureHandler failureHandler, IFubuRequest request, IEnumerable<IAuthorizationPolicy> policies)
: base(PartialBehavior.Executes)
{
_failureHandler = failureHandler;
_request = request;
_policies = policies;
}
示例10: FubuContinuationFailurePolicy
public FubuContinuationFailurePolicy(Func<Type, bool> predicate, IFubuRequest request,
FubuContinuation continuation, ContinuationHandler handler)
{
_predicate = predicate;
_handler = handler;
_continuation = continuation;
_request = request;
}
示例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>());
}
示例12: ContinuationHandler
public ContinuationHandler(IUrlRegistry registry, IOutputWriter writer, IFubuRequest request, IPartialFactory factory, IChainResolver resolver)
{
_registry = registry;
_writer = writer;
_request = request;
_factory = factory;
_resolver = resolver;
}
示例13: MustBeAuthenticatedBehaviour
public MustBeAuthenticatedBehaviour(ISecurityContext securityContext, IOutputWriter writer, IUrlRegistry urls, IFubuRequest request)
: base(PartialBehavior.Ignored)
{
_securityContext = securityContext;
_writer = writer;
_urls = urls;
_request = request;
}
示例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);
}
示例15: FubuContinuationFailurePolicy
public FubuContinuationFailurePolicy(Func<ValidationFailure, bool> predicate, IFubuRequest request,
IFubuContinuationResolver continuationResolver, IValidationContinuationHandler handler)
{
_predicate = predicate;
_handler = handler;
_continuationResolver = continuationResolver;
_request = request;
}