using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DotNetPro.ErrorEmailer { /*
*/ /// /// The ConfigHandler Configuration Section. /// public partial class ConfigHandler : global::System.Configuration.ConfigurationSection { #region EmailTo Property /// /// The XML name of the property. /// internal const global::System.String EmailToPropertyName = "emailTo"; /// /// Gets or sets the Email Error messages goto /// [global::System.Configuration.ConfigurationProperty(EmailToPropertyName, IsRequired = false, IsKey = false, IsDefaultCollection = false, DefaultValue = "test@test.com")] public global::System.String EmailTo { get { return (global::System.String)base[EmailToPropertyName]; } set { base[EmailToPropertyName] = value; } } #endregion #region EmailFrom Property /// /// The XML name of the property. /// internal const global::System.String EmailFromPropertyName = "emailFrom"; /// /// Gets or sets the EmailFrom. /// [global::System.Configuration.ConfigurationProperty(EmailFromPropertyName, IsRequired = false, IsKey = false, IsDefaultCollection = false)] public global::System.String EmailFrom { get { return (global::System.String)base[EmailFromPropertyName]; } set { base[EmailFromPropertyName] = value; } } #endregion #region Subject Property /// /// The XML name of the property. /// internal const global::System.String SubjectPropertyName = "subject"; /// /// Gets or sets {0} = Url, {1} = Url /// [global::System.Configuration.ConfigurationProperty(SubjectPropertyName, IsRequired = false, IsKey = false, IsDefaultCollection = false)] public global::System.String Subject { get { return (global::System.String)base[SubjectPropertyName]; } set { base[SubjectPropertyName] = value; } } #endregion #region Singleton Instance /// /// The XML name of the ConfigHandler Configuration Section. /// internal const global::System.String ConfigHandlerSectionName = "DotNetPro.ErrorEmailer"; /// /// Gets the ConfigHandler instance. /// public static global::DotNetPro.ErrorEmailer.ConfigHandler Instance { get { return global::System.Configuration.ConfigurationManager.GetSection(ConfigHandlerSectionName) as global::DotNetPro.ErrorEmailer.ConfigHandler; } } #endregion #region Xmlns Property /// /// The XML name of the property. /// internal const global::System.String XmlnsPropertyName = "xmlns"; /// /// Gets the XML namespace of this Configuration Section. /// /// /// This property makes sure that if the configuration file contains the XML namespace, /// the parser doesn't throw an exception because it encounters the unknown "xmlns" attribute. /// [global::System.Configuration.ConfigurationProperty(XmlnsPropertyName, IsRequired = false, IsKey = false, IsDefaultCollection = false)] public global::System.String Xmlns { get { return (global::System.String)base[XmlnsPropertyName]; } } #endregion } }