NuGet.SharedPackageRepository.GetRepositoryElements C# (CSharp) Method

GetRepositoryElements() private static method

private static GetRepositoryElements ( System.Xml.Linq.XDocument document ) : IEnumerable
document System.Xml.Linq.XDocument
return IEnumerable
        private static IEnumerable<XElement> GetRepositoryElements(XDocument document)
        {
            return from e in document.Root.Elements("repository")
                   select e;
        }