コード例 #1
0
 public static ProcessorPipelineBuilder UseInjectMarkdownArticlesProcessor(
     this ProcessorPipelineBuilder pipelineBuilder
     )
 {
     pipelineBuilder.RegisterPipelineProcessor(new InjectMarkdownArticlesProcessor());
     return(pipelineBuilder);
 }
コード例 #2
0
 public static ProcessorPipelineBuilder UseDropExistingSiteProcessor(
     this ProcessorPipelineBuilder pipelineBuilder
     )
 {
     pipelineBuilder.RegisterPipelineProcessor(new DropExistingSiteProcessor());
     return(pipelineBuilder);
 }
コード例 #3
0
 public static ProcessorPipelineBuilder UseArticleNavigationProcessor(
     this ProcessorPipelineBuilder pipelineBuilder
     )
 {
     pipelineBuilder.RegisterPipelineProcessor(new ArticleNavigationProcessor());
     return(pipelineBuilder);
 }
コード例 #4
0
 public static ProcessorPipelineBuilder UseCloneSiteFromTemplateProcessor(
     this ProcessorPipelineBuilder pipelineBuilder
     )
 {
     pipelineBuilder.RegisterPipelineProcessor(new CloneSiteFromTemplateProcessor());
     return(pipelineBuilder);
 }
コード例 #5
0
        public static ProcessorPipelineBuilder UseReleaseNotesProcessor(this ProcessorPipelineBuilder pipelineBuilder)
        {
            var markdownPipeline = new MarkdownPipelineBuilder()
                                   .UseAdvancedExtensions()
                                   .Build()
            ;

            pipelineBuilder.RegisterPipelineProcessor(new ReleaseNotesProcessor(markdownPipeline));
            return(pipelineBuilder);
        }
コード例 #6
0
        public static ProcessorPipelineBuilder UseYamlProcessor(this ProcessorPipelineBuilder pipelineBuilder)
        {
            var yamlPipeline = new DeserializerBuilder()
                               .WithNamingConvention(HyphenatedNamingConvention.Instance)
                               .Build()
            ;

            pipelineBuilder.RegisterPipelineProcessor(new YamlProcessor(yamlPipeline));
            return(pipelineBuilder);
        }
コード例 #7
0
 public static ProcessorPipelineBuilder UseArticleIdProcessor(this ProcessorPipelineBuilder pipelineBuilder)
 {
     pipelineBuilder.RegisterPipelineProcessor(new ArticleIdProcessor(pipelineBuilder._articleDb));
     return(pipelineBuilder);
 }
コード例 #8
0
 public static ProcessorPipelineBuilder UseIndexPageProcessor(this ProcessorPipelineBuilder pipelineBuilder)
 {
     pipelineBuilder.RegisterPipelineProcessor(new IndexPageProcessor());
     return(pipelineBuilder);
 }
コード例 #9
0
 public static ProcessorPipelineBuilder UseSitemapsProcessor(this ProcessorPipelineBuilder pipelineBuilder)
 {
     pipelineBuilder.RegisterPipelineProcessor(new SitemapsProcessor());
     return(pipelineBuilder);
 }
コード例 #10
0
 public static ProcessorPipelineBuilder UseBlockQuoteFormatProcessor(this ProcessorPipelineBuilder pipelineBuilder)
 {
     pipelineBuilder.RegisterPipelineProcessor(new BlockquoteFormatProcessor());
     return(pipelineBuilder);
 }