C# Class XMLViewsTests.TestXmlViewsUtils

显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
GetRootNode ( XmlDocument doc, string name ) : XmlNode
NodesMatch ( XmlNode node1, XmlNode node2 ) : bool

Return true if the two nodes match. Corresponding children shoudl match, and corresponding attributes (though not necessarily in the same order). The nodes are expected to be actually XmlElements

Private Methods

Method Description
AlphaCompNumberString ( ) : void
CopyWithParamDefaults ( ) : void
FindDefaults ( ) : void
StringsFor ( ) : void
TrivialCopyWithParamDefaults ( ) : void

Method Details

GetRootNode() public static method

public static GetRootNode ( XmlDocument doc, string name ) : XmlNode
doc System.Xml.XmlDocument
name string
return System.Xml.XmlNode

NodesMatch() static public method

Return true if the two nodes match. Corresponding children shoudl match, and corresponding attributes (though not necessarily in the same order). The nodes are expected to be actually XmlElements
static public NodesMatch ( XmlNode node1, XmlNode node2 ) : bool
node1 System.Xml.XmlNode
node2 System.Xml.XmlNode
return bool