System.Xml.Xsl.Runtime.XmlILStorageConverter.NavigatorsToItems C# (CSharp) Méthode

NavigatorsToItems() public static méthode

public static NavigatorsToItems ( IList listNavigators ) : IList
listNavigators IList
Résultat IList
        public static IList<XPathItem> NavigatorsToItems(IList<XPathNavigator> listNavigators) {
            // Check to see if the navigator cache implements IList<XPathItem>
            IList<XPathItem> listItems = listNavigators as IList<XPathItem>;
            if (listItems != null)
                return listItems;

            // Create XmlQueryNodeSequence, which does implement IList<XPathItem>
            return new XmlQueryNodeSequence(listNavigators);
        }