Rhythm.Staticize.CssResourcesDownloadBehavior.GetSrcAttributes C# (CSharp) Method

GetSrcAttributes() protected method

protected GetSrcAttributes ( HtmlAgilityPack nodes ) : string[]
nodes HtmlAgilityPack
return string[]
        protected override string[] GetSrcAttributes(HtmlAgilityPack.HtmlNodeCollection nodes)
        {
            var srcAttributes = (from node in nodes
                                 where !String.IsNullOrWhiteSpace(node.GetAttributeValue("href", null))
                                 select node.GetAttributeValue("href", null)).ToArray();
            return srcAttributes;
        }