WebMarkupMin.Core.GenericHtmlMinifier.ContainsRelExternalAttribute C# (CSharp) Метод

ContainsRelExternalAttribute() приватный статический Метод

Determines whether a list of attributes contains the rel attribute with value, that equals to "external" or "alternate external"
private static ContainsRelExternalAttribute ( IList attributes ) : bool
attributes IList List of attributes
Результат bool
        private static bool ContainsRelExternalAttribute(IList<HtmlAttribute> attributes)
        {
            bool containsRelExternalAttribute = attributes.Any(a => a.NameInLowercase == "rel"
                 && _relExternalAttributeRegex.IsMatch(a.Value));

            return containsRelExternalAttribute;
        }