Exemple #1
0
        private static XmlNode GetAndRemoveNonEmptyStringAttributeInternal(XmlNode node, string attrib, bool fRequired, ref string string_0)
        {
            XmlNode andRemoveStringAttributeInternal = SecUtility.GetAndRemoveStringAttributeInternal(node, attrib, fRequired, ref string_0);

            if (andRemoveStringAttributeInternal != null && string_0.Length == 0)
            {
                throw new ConfigurationErrorsException(SR.GetString("The '{0}' attribute cannot be an empty string.", attrib), andRemoveStringAttributeInternal);
            }
            return(andRemoveStringAttributeInternal);
        }
Exemple #2
0
 internal static XmlNode GetAndRemoveStringAttribute(XmlNode node, string attrib, ref string string_0)
 {
     return(SecUtility.GetAndRemoveStringAttributeInternal(node, attrib, false, ref string_0));
 }