C# Class Sage.Extensibility.NodeEvaluator

Afficher le fichier Open project: igorfrance/sage Class Usage Examples

Méthodes publiques

Méthode Description
NodeEvaluator ( SageContext context ) : System
Process ( SageContext context, XmlNode node ) : XmlNode
Process ( XmlNode node ) : XmlNode
RegisterNodeHandler ( System.Xml.XmlNodeType nodeType, string nodeName, string nodeNamespace, NodeHandler handler ) : void

Registers the specified node handler, for the specified nodeType, nodeName and nodeNamespace.

Private Methods

Méthode Description
DiscoverNodeHandlers ( ) : void
GetNodeHandler ( XmlNode node ) : NodeHandler

Gets the node handler for the specified node.

NodeEvaluator ( ) : System
OnAssembliesUpdated ( object sender, EventArgs arg ) : void
QualifyName ( XmlNode node ) : string
QualifyName ( System.Xml.XmlNodeType type, string name, string ns ) : string

Method Details

NodeEvaluator() public méthode

public NodeEvaluator ( SageContext context ) : System
context SageContext
Résultat System

Process() public static méthode

public static Process ( SageContext context, XmlNode node ) : XmlNode
context SageContext
node System.Xml.XmlNode
Résultat System.Xml.XmlNode

Process() public méthode

public Process ( XmlNode node ) : XmlNode
node System.Xml.XmlNode
Résultat System.Xml.XmlNode

RegisterNodeHandler() public static méthode

Registers the specified node handler, for the specified nodeType, nodeName and nodeNamespace.
public static RegisterNodeHandler ( System.Xml.XmlNodeType nodeType, string nodeName, string nodeNamespace, NodeHandler handler ) : void
nodeType System.Xml.XmlNodeType The type of the node for which the handler is being registered.
nodeName string The name of the node for which the handler is being registered.
nodeNamespace string The namespace of the node for which the handler is being registered.
handler NodeHandler The method that will will handle the node.
Résultat void