コード例 #1
0
        public static MarkdownPipelineBuilder UseImageProcessing(
            this MarkdownPipelineBuilder builder,
            IFileSystem fileSystem, IBlogServer blogServer)
        {
            var extension = new ImageProcessingExtension(fileSystem, blogServer);

            builder.Extensions.AddIfNotAlready(extension);
            return(builder);
        }
コード例 #2
0
 public Application(ILogger <Application> logger,
                    IFileSystem fileSystem,
                    IBlogServer blogServer,
                    IPipelineFactory pipelineFactory)
 {
     this.logger          = logger;
     this.fileSystem      = fileSystem;
     this.blogServer      = blogServer;
     this.pipelineFactory = pipelineFactory;
 }
コード例 #3
0
 public PipelineFactory(IFileSystem fileSystem, IBlogServer blogServer)
 {
     this.fileSystem = fileSystem;
     this.blogServer = blogServer;
 }
コード例 #4
0
 public ImageProcessingExtension(IFileSystem fileSystem, IBlogServer blogServer)
 {
     this.fileSystem = fileSystem;
     this.blogServer = blogServer;
 }