Esempio n. 1
0
 public BlogConfig()
 {
     BlogOwnerSettings  = new BlogOwnerSettings();
     ContentSettings    = new ContentSettings();
     GeneralSettings    = new GeneralSettings();
     EmailConfiguration = new EmailConfiguration();
     FeedSettings       = new FeedSettings();
     WatermarkSettings  = new WatermarkSettings();
 }
Esempio n. 2
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();
        }
Esempio n. 3
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();
        }