System.Xml.Schema.DtdValidator.GetEntity C# (CSharp) Méthode

GetEntity() private méthode

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