Ejemplo n.º 1
0
 public BlogConfig()
 {
     BlogOwnerSettings  = new BlogOwnerSettings();
     ContentSettings    = new ContentSettings();
     GeneralSettings    = new GeneralSettings();
     EmailConfiguration = new EmailConfiguration();
     FeedSettings       = new FeedSettings();
     WatermarkSettings  = new WatermarkSettings();
 }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 4
0
        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();
        }
Ejemplo n.º 5
0
 public Response SaveFeedConfiguration(FeedSettings feedSettings)
 {
     return(SaveObjectConfiguration(feedSettings));
 }