public static EmailNotifierConfigurationElement FromXmlReader(XmlReader reader)
        {
            var notifier = new EmailNotifierConfigurationElement();

            notifier.ReadSettings(reader);
            return(notifier);
        }
        protected override bool OnDeserializeUnrecognizedElement(string elementName, XmlReader reader)
        {
            if (elementName == SlackNotifierConfigurationElement.ElementName)
            {
                Add(SlackNotifierConfigurationElement.FromXmlReader(reader));
                return(true);
            }
            if (elementName == EmailNotifierConfigurationElement.ElementName)
            {
                Add(EmailNotifierConfigurationElement.FromXmlReader(reader));
                return(true);
            }

            return(base.OnDeserializeUnrecognizedElement(elementName, reader));
        }