public BlogConfig() { BlogOwnerSettings = new BlogOwnerSettings(); ContentSettings = new ContentSettings(); GeneralSettings = new GeneralSettings(); EmailConfiguration = new EmailConfiguration(); FeedSettings = new FeedSettings(); WatermarkSettings = new WatermarkSettings(); }
public BlogConfig() { // Set default values in case of blow up DisharmonyWords = string.Empty; MetaKeyword = string.Empty; MetaAuthor = string.Empty; SiteTitle = string.Empty; EnableComments = true; EmailConfiguration = new EmailConfiguration(); FeedSettings = new FeedSettings(); WatermarkSettings = new WatermarkSettings(); }
public BlogConfig( ILogger <BlogConfig> logger, IConfiguration configuration) { _configuration = configuration; _logger = logger; BlogOwnerSettings = new BlogOwnerSettings(); ContentSettings = new ContentSettings(); GeneralSettings = new GeneralSettings(); EmailSettings = new EmailSettings(); FeedSettings = new FeedSettings(); WatermarkSettings = new WatermarkSettings(); Initialize(); }
public BlogConfig( ILogger <BlogConfig> logger, IConfiguration configuration) { _configuration = configuration; _logger = logger; ContentSettings = new ContentSettings(); GeneralSettings = new GeneralSettings(); NotificationSettings = new NotificationSettings(); FeedSettings = new FeedSettings(); WatermarkSettings = new WatermarkSettings(); FriendLinksSettings = new FriendLinksSettings(); AdvancedSettings = new AdvancedSettings(); Initialize(); }
public Response SaveFeedConfiguration(FeedSettings feedSettings) { return(SaveObjectConfiguration(feedSettings)); }