src/Shared/EntityFramework/Core/Metadata/Edm/MetadataArtifactLoaderResource.cs
// <summary>
// Create and return an XmlReader around the resource represented by this instance
// if it is of the requested DataSpace type.
// </summary>
// <param name="spaceToGet"> The DataSpace corresponding to the requested artifacts </param>
// <returns> A List of XmlReader objects </returns>
Create and return an XmlReader around the resource represented by this instance
if it is of the requested DataSpace type.
Create and return an XmlReader around the resource represented by this instance if it is of the requested DataSpace type .
public override List<XmlReader> CreateReaders(DataSpace spaceToGet)
        {
            var list = new List<XmlReader>();
            if (!_alreadyLoaded)
            {
                if (IsArtifactOfDataSpace(Path, spaceToGet))
                {
                    var reader = CreateReader();
                    list.Add(reader);
                }
            }
            return list;
        }
public override List < XmlReader > CreateReaders ( DataSpace spaceToGet ) { var list = new List < XmlReader > ( ) ; if ( ! _alreadyLoaded ) { if ( IsArtifactOfDataSpace ( Path , spaceToGet ) ) { var reader = CreateReader ( ) ; list . Add ( reader ) ; } } return list ; }
Create and return an XmlReader around the resource represented by this instance
if it is of the requested DataSpace type.
Create and return an XmlReader around the resource represented by this instance if it is of the requested DataSpace type .
A List of XmlReader objects
A List of XmlReader objects
spaceToGet
DataSpace
The DataSpace corresponding to the requested artifacts
The DataSpace corresponding to the requested artifacts