src/EntityFramework/Core/Metadata/Edm/MetadataArtifactLoaderCompositeFile.cs
// <summary>
// Aggregates all resource streams from the _children collection
// </summary>
// <returns> A List of XmlReader objects; cannot be null </returns>
Aggregates all resource streams from the _children collection
Aggregates all resource streams from the _children collection
public override List<XmlReader> GetReaders(Dictionary<MetadataArtifactLoader, XmlReader> sourceDictionary)
        {
            var list = new List<XmlReader>();
            foreach (var resource in CsdlChildren)
            {
                list.AddRange(resource.GetReaders(sourceDictionary));
            }
            foreach (var resource in SsdlChildren)
            {
                list.AddRange(resource.GetReaders(sourceDictionary));
            }
            foreach (var resource in MslChildren)
            {
                list.AddRange(resource.GetReaders(sourceDictionary));
            }
            return list;
        }
public override List < XmlReader > GetReaders ( Dictionary < MetadataArtifactLoader , XmlReader > sourceDictionary ) { var list = new List < XmlReader > ( ) ; foreach ( var resource in CsdlChildren ) { list . AddRange ( resource . GetReaders ( sourceDictionary ) ) ; } foreach ( var resource in SsdlChildren ) { list . AddRange ( resource . GetReaders ( sourceDictionary ) ) ; } foreach ( var resource in MslChildren ) { list . AddRange ( resource . GetReaders ( sourceDictionary ) ) ; } return list ; }
Aggregates all resource streams from the _children collection
Aggregates all resource streams from the _children collection
A List of XmlReader objects; cannot be null
A List of XmlReader objects ; cannot be null
sourceDictionary
Dictionary<MetadataArtifactLoader, XmlReader>