f671fea998
* Avoid usage of IOHelper in GlobalSettings * Avoid usage of IOHelper in ModelsBuilderConfig.cs * Avoid usage of IOHelper in ConnectionStrings.cs * Simplified more config * Fix for ModelsBuilderConfig * Moved GetUmbracoMvcAreaNoCache to IOHelperExtensions
25 lines
828 B
C#
25 lines
828 B
C#
using System;
|
|
using System.Configuration;
|
|
|
|
namespace Umbraco.Core.Configuration.HealthChecks
|
|
{
|
|
public class HealthChecksSection : ConfigurationSection
|
|
{
|
|
private const string DisabledChecksKey = "disabledChecks";
|
|
private const string NotificationSettingsKey = "notificationSettings";
|
|
|
|
[ConfigurationProperty(DisabledChecksKey)]
|
|
public DisabledHealthChecksElementCollection DisabledChecks
|
|
{
|
|
get { return ((DisabledHealthChecksElementCollection)(base[DisabledChecksKey])); }
|
|
}
|
|
|
|
[ConfigurationProperty(NotificationSettingsKey, IsRequired = true)]
|
|
public HealthCheckNotificationSettingsElement NotificationSettings
|
|
{
|
|
get { return ((HealthCheckNotificationSettingsElement)(base[NotificationSettingsKey])); }
|
|
}
|
|
|
|
}
|
|
}
|