System.Xml.Schema.DtdValidator.GetEntity C# (CSharp) Method

GetEntity() private method

private GetEntity ( XmlQualifiedName qname, bool fParameterEntity ) : SchemaEntity
qname XmlQualifiedName
fParameterEntity bool
return SchemaEntity
        private SchemaEntity GetEntity(XmlQualifiedName qname, bool fParameterEntity) {
            if (fParameterEntity) {
                return (SchemaEntity)schemaInfo.ParameterEntities[qname];
            }
            else {
                return (SchemaEntity)schemaInfo.GeneralEntities[qname];
            }
        }