Пример #1
0
        private void ProcessAttributes(XmlReader xmlReader, IReqIfParserCallbackReceiver callbackReceiver)
        {
            while (xmlReader.MoveToNextAttribute())
            {
                callbackReceiver.ProcessAttribute(xmlReader.Name, xmlReader.Value);
            }

            xmlReader.MoveToElement();
        }
        private void ProcessAttributes(XmlReader xmlReader, IReqIfParserCallbackReceiver callbackReceiver)
        {
            while (xmlReader.MoveToNextAttribute())
            {
                callbackReceiver.ProcessAttribute(xmlReader.Name, xmlReader.Value);
            }

            xmlReader.MoveToElement();
        }
 protected bool PassAttributeToSubImporter(string name, string value)
 {
     if (HasSubImporter())
     {
         subImporter.ProcessAttribute(name, value);
         return(true);
     }
     return(false);
 }