Example #1
0
 public AppSettings()
 {
     // Prevent Null Reference Exception if user didn't assign config values
     CaptchaSettings = new CaptchaSettings
     {
         ImageHeight = 36,
         ImageWidth  = 100
     };
     Notification = new NotificationSettings();
 }
Example #2
0
 public AppSettings()
 {
     // Prevent Null Reference Exception if user didn't assign config values
     CaptchaSettings = new CaptchaSettings
     {
         ImageHeight = 36,
         ImageWidth  = 100
     };
     SystemNavMenus = new SystemNavMenus
     {
         Archive    = true,
         Categories = true,
         Tags       = true
     };
     Notification = new NotificationSettings();
 }