Stream(System.Xml.XmlCharacterData charData) { m_dataObjs.Add(new Snoop.Data.ClassSeparator(typeof(System.Xml.XmlCharacterData))); m_dataObjs.Add(new Snoop.Data.Int("Length", charData.Length)); m_dataObjs.Add(new Snoop.Data.String("Data", charData.Data)); System.Xml.XmlCDataSection cDataSection = charData as System.Xml.XmlCDataSection; if (cDataSection != null) { Stream(cDataSection); return; } System.Xml.XmlComment comment = charData as System.Xml.XmlComment; if (comment != null) { Stream(comment); return; } System.Xml.XmlSignificantWhitespace swSpace = charData as System.Xml.XmlSignificantWhitespace; if (swSpace != null) { Stream(swSpace); return; } System.Xml.XmlText txt = charData as System.Xml.XmlText; if (txt != null) { Stream(txt); return; } System.Xml.XmlWhitespace wSpace = charData as System.Xml.XmlWhitespace; if (wSpace != null) { Stream(wSpace); return; } }
public static bool _CreateWhitespace_System_Configuration_ConfigXmlDocument_System_String( ) { //Parameters System.String data = null; //ReturnType/Value System.Xml.XmlWhitespace returnVal_Real = null; System.Xml.XmlWhitespace returnVal_Intercepted = null; //Exception Exception exception_Real = null; Exception exception_Intercepted = null; InterceptionMaintenance.disableInterception( ); try { returnValue_Real = System.Configuration.ConfigXmlDocument.CreateWhitespace(data); } catch (Exception e) { exception_Real = e; } InterceptionMaintenance.enableInterception( ); try { returnValue_Intercepted = System.Configuration.ConfigXmlDocument.CreateWhitespace(data); } catch (Exception e) { exception_Intercepted = e; } Return((exception_Real.Messsage == exception_Intercepted.Message) && (returnValue_Real == returnValue_Intercepted)); }
Stream(System.Xml.XmlWhitespace wSpace) { m_dataObjs.Add(new Snoop.Data.ClassSeparator(typeof(System.Xml.XmlWhitespace))); // no data to display at this level }