C# Class XMLViewsTests.TestXmlViewsUtils

Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AlphaCompNumberString ( ) : void
CopyWithParamDefaults ( ) : void
FindDefaults ( ) : void
StringsFor ( ) : void
TrivialCopyWithParamDefaults ( ) : void

Method Details

GetRootNode() public static méthode

public static GetRootNode ( XmlDocument doc, string name ) : XmlNode
doc System.Xml.XmlDocument
name string
Résultat System.Xml.XmlNode

NodesMatch() static public méthode

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
Résultat bool