コード例 #1
0
 public XmlRpcManager(IDasBlogSettings dasBlogSettings, ISiteSecurityManager siteSecurityManager, IFileSystemBinaryManager binaryManager)
 {
     this.dasBlogSettings     = dasBlogSettings;
     this.siteSecurityManager = siteSecurityManager;
     this.binaryManager       = binaryManager;
     loggingDataService       = LoggingDataServiceFactory.GetService(dasBlogSettings.WebRootDirectory + dasBlogSettings.SiteConfiguration.LogDir);
     dataService = BlogDataServiceFactory.GetService(dasBlogSettings.WebRootDirectory + dasBlogSettings.SiteConfiguration.ContentDir, loggingDataService);
 }
コード例 #2
0
 public AdminController(IDasBlogSettings dasBlogSettings, IFileSystemBinaryManager fileSystemBinaryManager, IMapper mapper,
                        IBlogManager blogManager, IHostApplicationLifetime appLifetime, ILogger <AdminController> logger) : base(dasBlogSettings)
 {
     this.dasBlogSettings         = dasBlogSettings;
     this.fileSystemBinaryManager = fileSystemBinaryManager;
     this.mapper      = mapper;
     this.blogManager = blogManager;
     this.appLifetime = appLifetime;
     this.logger      = logger;
 }
コード例 #3
0
 public BlogPostController(IBlogManager blogManager, IHttpContextAccessor httpContextAccessor,
                           IDasBlogSettings settings, IMapper mapper, ICategoryManager categoryManager
                           , IFileSystemBinaryManager binaryManager) : base(settings)
 {
     _blogManager         = blogManager;
     _categoryManager     = categoryManager;
     _httpContextAccessor = httpContextAccessor;
     _dasBlogSettings     = settings;
     _mapper        = mapper;
     _binaryManager = binaryManager;
 }
コード例 #4
0
 public BlogPostController(IBlogManager blogManager, IHttpContextAccessor httpContextAccessor,
                           IDasBlogSettings settings, IMapper mapper, ICategoryManager categoryManager
                           , IFileSystemBinaryManager binaryManager, ILogger <BlogPostController> logger) : base(settings)
 {
     this.blogManager         = blogManager;
     this.categoryManager     = categoryManager;
     this.httpContextAccessor = httpContextAccessor;
     dasBlogSettings          = settings;
     this.mapper        = mapper;
     this.binaryManager = binaryManager;
     this.logger        = logger;
 }
コード例 #5
0
 public BlogPostController(IBlogManager blogManager, IHttpContextAccessor httpContextAccessor, IDasBlogSettings settings,
                           IMapper mapper, ICategoryManager categoryManager, IFileSystemBinaryManager binaryManager,
                           ILogger <BlogPostController> logger, IBlogPostViewModelCreator modelViewCreator, IMemoryCache memoryCache)
     : base(settings)
 {
     this.blogManager         = blogManager;
     this.categoryManager     = categoryManager;
     this.httpContextAccessor = httpContextAccessor;
     dasBlogSettings          = settings;
     this.mapper           = mapper;
     this.binaryManager    = binaryManager;
     this.logger           = logger;
     this.modelViewCreator = modelViewCreator;
     this.memoryCache      = memoryCache;
 }
コード例 #6
0
 public AdminController(IDasBlogSettings dasBlogSettings, IFileSystemBinaryManager fileSystemBinaryManager, IMapper mapper) : base(dasBlogSettings)
 {
     this.dasBlogSettings         = dasBlogSettings;
     this.fileSystemBinaryManager = fileSystemBinaryManager;
     this.mapper = mapper;
 }