OnInvalidNode() public method

public OnInvalidNode ( Exortech.NetReflector.InvalidNodeEventArgs args ) : void
args Exortech.NetReflector.InvalidNodeEventArgs
return void
Beispiel #1
0
 private void HandleUnusedNode(NetReflectorTypeTable table, XmlNode orphan)
 {
     // Ignore any XML schema instance nodes
     if (!string.Equals(orphan.NamespaceURI, "http://www.w3.org/2001/XMLSchema-instance"))
     {
         table.OnInvalidNode(new InvalidNodeEventArgs(orphan, "Unused node detected: " + orphan.OuterXml));
     }
 }
 private void HandleUnusedNode(NetReflectorTypeTable table, XmlNode orphan)
 {
     // Ignore any XML schema instance nodes
     if (!string.Equals(orphan.NamespaceURI, "http://www.w3.org/2001/XMLSchema-instance"))
     {
         table.OnInvalidNode(new InvalidNodeEventArgs(orphan, "Unused node detected: " + orphan.OuterXml));
     }
 }