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


C# IPipeline.Notify方法代码示例

本文整理汇总了C#中IPipeline.Notify方法的典型用法代码示例。如果您正苦于以下问题:C# IPipeline.Notify方法的具体用法?C# IPipeline.Notify怎么用?C# IPipeline.Notify使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IPipeline的用法示例。


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

示例1: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(PostExecution).After<KnownStages.IOperationExecution>()
         .And.Before<KnownStages.IOperationResultInvocation>();
     pipelineRunner.Notify(RewriteResult).After<KnownStages.IOperationResultInvocation>()
         .And.Before<KnownStages.IResponseCoding>();
 }
开发者ID:shekelator,项目名称:openrasta-caching,代码行数:7,代码来源:LastModifiedContributor.cs

示例2: Initialize

        public void Initialize(IPipeline pipelineRunner)
        {
            pipelineRunner.Notify(ReadCredentials)
                .After<KnownStages.IBegin>()
                .And
                .Before<KnownStages.IHandlerSelection>();

            pipelineRunner.Notify(WriteCredentialRequest)
                .After<KnownStages.IOperationResultInvocation>()
                .And
                .Before<KnownStages.IResponseCoding>();
        }
开发者ID:hibri,项目名称:openrasta-stable,代码行数:12,代码来源:DigestAuthorizerContributor.cs

示例3: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(WrapOperations)
         .After<KnownStages.IRequestDecoding>()
         .And
         .Before<KnownStages.IOperationExecution>();
 }
开发者ID:dhootha,项目名称:openrasta-core,代码行数:7,代码来源:OperationInterceptorContributor.cs

示例4: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(AuthoriseRequest)
         .After<KnownStages.IBegin>()
         .And
         .Before<KnownStages.IHandlerSelection>();
 }
开发者ID:openrasta,项目名称:openrasta-core,代码行数:7,代码来源:AuthenticationContributor.cs

示例5: Initialize

 public void Initialize(IPipeline pipeline)
 {
     pipeline.Notify(WriteResponse).After<KnownStages.ICodecResponseSelection>();
     //.And
     //.Before<KnownStages.IEnd>();
     Log = NullLogger.Instance;
 }
开发者ID:hibri,项目名称:openrasta-stable,代码行数:7,代码来源:ResponseEntityWriterContributor.cs

示例6: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(ChallengeIfUnauthorized)
         .After<KnownStages.IOperationExecution>()
         .And
         .Before<KnownStages.IResponseCoding>();
 }
开发者ID:dhootha,项目名称:openrasta-core,代码行数:7,代码来源:AuthenticationChallengerContributor.cs

示例7: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(ProcessPostConditional)
         .Before<ConditionalLastModifiedContributor>()
         .And
         .Before<KnownStages.IResponseCoding>();
 }
开发者ID:shekelator,项目名称:openrasta-caching,代码行数:7,代码来源:ConditionalEtagContributor.cs

示例8: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     _authentication = _resolver.Resolve<IAuthenticationProvider>();
     pipelineRunner.Notify(ReadCredentials)
         .After<KnownStages.IBegin>()
         .And
         .Before<KnownStages.IHandlerSelection>();
 }
开发者ID:dhootha,项目名称:openrasta-core,代码行数:8,代码来源:BasicAuthorizerContributor.cs

示例9: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     var notification = pipelineRunner.Notify(ReturnFinished);
     IPipelineExecutionOrderAnd and = null;
     foreach(var contributor in pipelineRunner.Contributors.Where(x=>x != this))
     {
         if (and == null)
         {
             and = notification.After(contributor.GetType());
         }
         else
         {
             and = and.And.After(contributor.GetType());
         }
     }
 }
开发者ID:dhootha,项目名称:openrasta-core,代码行数:16,代码来源:EndContributor.cs

示例10: Initialize

 public void Initialize(IPipeline pipeline)
 {
     pipeline.Notify(WriteResponse).After<KnownStages.ICodecResponseSelection>();
 }
开发者ID:brainmurphy,项目名称:openrasta-core,代码行数:4,代码来源:ResponseEntityWriterContributor.cs

示例11: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(NotifyOfVisit).Before<KnownStages.IUriMatching>();
 }
开发者ID:thatpaulschofield,项目名称:LifeMap,代码行数:4,代码来源:VisitorPipelineContributor.cs

示例12: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(this.ResolveResource).After<BootstrapperContributor>();
 }
开发者ID:endjin,项目名称:openrasta-stable,代码行数:4,代码来源:ResourceTypeResolverContributor.cs

示例13: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(ResolveSession)
         .After<KnownStages.ICodecResponseSelection>()
         .And.Before<KnownStages.IResponseCoding>();
 }
开发者ID:scottlittlewood,项目名称:SecretSanta,代码行数:6,代码来源:SessionResolutionContributor.cs

示例14: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(this.ExecuteOperations).After<KnownStages.IRequestDecoding>();
 }
开发者ID:endjin,项目名称:openrasta-stable,代码行数:4,代码来源:OperationInvokerContributor.cs

示例15: Initialize

 public void Initialize(IPipeline pipelineRunner)
 {
     pipelineRunner.Notify(InitializeContainer)
         .Before<KnownStages.IOperationExecution>();
 }
开发者ID:JontyMC,项目名称:Paramore,代码行数:5,代码来源:DependencyPipelineContributor.cs


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