public SettingsController( IBlogConfig blogConfig, ILogger <SettingsController> logger, IMediator mediator) { _blogConfig = blogConfig; _logger = logger; _mediator = mediator; }
public CommentController( ICommentService commentService, IBlogConfig blogConfig, IBlogNotificationClient notificationClient = null) { _blogConfig = blogConfig; _commentService = commentService; _notificationClient = notificationClient; }
public PingbackController( ILogger <PingbackController> logger, IOptions <AppSettings> settings, IBlogConfig blogConfig, PingbackService pingbackService) : base(logger, settings) { _blogConfig = blogConfig; _pingbackService = pingbackService; }
public SettingsController( IBlogConfig blogConfig, IBlogAudit blogAudit, ILogger <SettingsController> logger) { _blogConfig = blogConfig; _blogAudit = blogAudit; _logger = logger; }
public async Task <IActionResult> SiteMap([FromServices] IBlogConfig blogConfig, [FromServices] IBlogCache cache) { return(await cache.GetOrCreateAsync(CacheDivision.General, "sitemap", async entry => { var url = ResolveRootUrl(blogConfig); var bytes = await _searchService.GetSiteMapStreamArrayAsync(url); var xmlContent = Encoding.UTF8.GetString(bytes); return Content(xmlContent, "text/xml"); })); }
public SearchController( ILogger <OpmlController> logger, IOptions <AppSettings> settings, PostSearchService postSearchService, IBlogConfig blogConfig) : base(logger, settings) { _postSearchService = postSearchService; _blogConfig = blogConfig; }
public TagListModel( ITagService tagService, IBlogConfig blogConfig, IPostQueryService postQueryService, IBlogCache cache) { _tagService = tagService; _blogConfig = blogConfig; _postQueryService = postQueryService; _cache = cache; P = 1; }
public HomeController( PostService postService, IBlogCache cache, IBlogConfig blogConfig, ILogger <HomeController> logger) { _postService = postService; _cache = cache; _blogConfig = blogConfig; _logger = logger; }
public CommentController( ICommentService commentService, IBlogConfig blogConfig, ITimeZoneResolver timeZoneResolver, IBlogNotificationClient notificationClient) { _commentService = commentService; _blogConfig = blogConfig; _timeZoneResolver = timeZoneResolver; _notificationClient = notificationClient; }
public SearchService( IOptions <AppSettings> settings, IRepository <PostEntity> postRepo, IBlogConfig blogConfig, IRepository <PageEntity> pageRepo) { _settings = settings.Value; _postRepo = postRepo; _blogConfig = blogConfig; _pageRepo = pageRepo; }
public async Task <IActionResult> SiteMap([FromServices] IBlogConfig blogConfig, [FromServices] IBlogCache cache) { return(await cache.GetOrCreateAsync(CacheDivision.General, "sitemap", async _ => { var url = Helper.ResolveRootUrl(HttpContext, blogConfig.GeneralSettings.CanonicalPrefix, true); var bytes = await _searchService.GetSiteMapStreamArrayAsync(url); var xmlContent = Encoding.UTF8.GetString(bytes); return Content(xmlContent, "text/xml"); })); }
public SettingsController( ILogger <SettingsController> logger, IOptionsSnapshot <AppSettings> settings, FriendLinkService friendLinkService, IBlogConfig blogConfig) : base(logger, settings) { _blogConfig = blogConfig; _friendLinkService = friendLinkService; }
public CategoryListModel( IBlogConfig blogConfig, IMediator mediator, IBlogCache cache) { _blogConfig = blogConfig; _mediator = mediator; _cache = cache; P = 1; }
public OpmlController( ILogger <OpmlController> logger, CategoryService categoryService, IBlogConfig blogConfig, IFileSystemOpmlWriter fileSystemOpmlWriter) : base(logger) { _categoryService = categoryService; _blogConfig = blogConfig; _fileSystemOpmlWriter = fileSystemOpmlWriter; }
public PingbackController( ILogger <PingbackController> logger, IBlogConfig blogConfig, IPingbackService pingbackService, IBlogNotificationClient notificationClient) { _logger = logger; _blogConfig = blogConfig; _pingbackService = pingbackService; _notificationClient = notificationClient; }
public CommentService( ILogger <CommentService> logger, IOptions <AppSettings> settings, IMapper mapper, IBlogConfig blogConfig, IRepository <CommentEntity> commentRepository, IRepository <CommentReplyEntity> commentReplyRepository) : base(logger, mapper, settings) { _blogConfig = blogConfig; _commentRepository = commentRepository; _commentReplyRepository = commentReplyRepository; }
public SettingsController( ILogger <SettingsController> logger, IOptionsSnapshot <AppSettings> settings, FriendLinkService friendLinkService, IBlogConfig blogConfig, IDateTimeResolver dateTimeResolver) : base(logger, settings) { _blogConfig = blogConfig; _dateTimeResolver = dateTimeResolver; _friendLinkService = friendLinkService; }
public ImageController( ILogger <ImageController> logger, IOptions <AppSettings> settings, IOptions <ImageStorageSettings> imageStorageSettings, IAsyncImageStorageProvider imageStorageProvider, IBlogConfig blogConfig) : base(logger, settings) { _blogConfig = blogConfig; _imageStorageProvider = imageStorageProvider; _cdnSettings = imageStorageSettings.Value?.CDNSettings; }
public SettingsController( IFriendLinkService friendLinkService, IBlogConfig blogConfig, IBlogAudit blogAudit, ILogger <SettingsController> logger) { _blogConfig = blogConfig; _blogAudit = blogAudit; _friendLinkService = friendLinkService; _logger = logger; }
public PostController( ILogger <PostController> logger, IOptions <AppSettings> settings, PostService postService, CategoryService categoryService, IBlogConfig blogConfig) : base(logger, settings) { _postService = postService; _categoryService = categoryService; _blogConfig = blogConfig; }
public PingbackController( ILogger <PingbackController> logger, IOptions <AppSettings> settings, IBlogConfig blogConfig, IPingbackService pingbackService, IBlogNotificationClient notificationClient) : base(logger, settings) { _blogConfig = blogConfig; _pingbackService = pingbackService; _notificationClient = notificationClient; }
public CategoryListModel( ICategoryService categoryService, IBlogConfig blogConfig, IBlogCache cache, IPostQueryService postQueryService) { _categoryService = categoryService; _blogConfig = blogConfig; _cache = cache; _postQueryService = postQueryService; P = 1; }
public PostManageController( PostService postService, CategoryService categoryService, IBlogConfig blogConfig, IDateTimeResolver dateTimeResolver, ILogger <PostManageController> logger) { _postService = postService; _blogConfig = blogConfig; _categoryService = categoryService; _dateTimeResolver = dateTimeResolver; _logger = logger; }
public PostManageController( IPostService postService, ICategoryService catService, IBlogConfig blogConfig, ITZoneResolver tZoneResolver, ILogger <PostManageController> logger) { _postService = postService; _blogConfig = blogConfig; _catService = catService; _tZoneResolver = tZoneResolver; _logger = logger; }
public CommentController( ILogger <CommentController> logger, IOptions <AppSettings> settings, CommentService commentService, IBlogConfig blogConfig, IMoongladeNotificationClient notificationClient = null) : base(logger, settings) { _blogConfig = blogConfig; _commentService = commentService; _notificationClient = notificationClient; }
public AssetsController( ILogger <AssetsController> logger, IOptions <AppSettings> settings, IOptions <ImageStorageSettings> imageStorageSettings, IAsyncImageStorageProvider imageStorageProvider, IBlogConfig blogConfig, ISiteIconGenerator siteIconGenerator) : base(logger, settings) { _blogConfig = blogConfig; _siteIconGenerator = siteIconGenerator; _imageStorageProvider = imageStorageProvider; _cdnSettings = imageStorageSettings.Value?.CDNSettings; }
public PostManageController( IPostService postService, IBlogConfig blogConfig, ITZoneResolver tZoneResolver, IPingbackSender pingbackSender, ILogger <PostManageController> logger) { _postService = postService; _blogConfig = blogConfig; _tZoneResolver = tZoneResolver; _pingbackSender = pingbackSender; _logger = logger; }
public PostController( IMediator mediator, IBlogConfig blogConfig, ITimeZoneResolver timeZoneResolver, IPingbackSender pingbackSender, ILogger <PostController> logger) { _mediator = mediator; _blogConfig = blogConfig; _timeZoneResolver = timeZoneResolver; _pingbackSender = pingbackSender; _logger = logger; }
public SubscriptionController( ISyndicationService syndicationService, ICategoryService categoryService, IBlogConfig blogConfig, IBlogCache cache, IOpmlWriter opmlWriter) { _syndicationService = syndicationService; _categoryService = categoryService; _blogConfig = blogConfig; _cache = cache; _opmlWriter = opmlWriter; }
public PostController( ILogger <PostController> logger, IOptions <AppSettings> settings, PostService postService, CategoryService categoryService, IBlogConfig blogConfig, IDateTimeResolver dateTimeResolver) : base(logger, settings) { _postService = postService; _categoryService = categoryService; _blogConfig = blogConfig; _dateTimeResolver = dateTimeResolver; }