System.Xml.XmlTextReaderImpl.DtdParserProxy_PushEntity C# (CSharp) Méthode

DtdParserProxy_PushEntity() private méthode

private DtdParserProxy_PushEntity ( IDtdEntityInfo entity, int &entityId ) : bool
entity IDtdEntityInfo
entityId int
Résultat bool
        internal bool DtdParserProxy_PushEntity(IDtdEntityInfo entity, out int entityId)
        {
            bool retValue;
            if (entity.IsExternal)
            {
                if (IsResolverNull)
                {
                    entityId = -1;
                    return false;
                }
                retValue = PushExternalEntity(entity);
            }
            else
            {
                PushInternalEntity(entity);
                retValue = true;
            }
            entityId = _ps.entityId;
            return retValue;
        }

Usage Example

 bool IDtdParserAdapter.PushEntity(IDtdEntityInfo entity, out int entityId)
 {
     return(_reader.DtdParserProxy_PushEntity(entity, out entityId));
 }
All Usage Examples Of System.Xml.XmlTextReaderImpl::DtdParserProxy_PushEntity
XmlTextReaderImpl