Click or drag to resize

XmlExtensionsWhenOptionalAttribute Method

[Missing <summary> documentation for "M:com.espertech.esper.compat.xml.XmlExtensions.WhenOptionalAttribute(System.Xml.XmlNode,System.String,System.Action`1)"]

Namespace:  com.espertech.esper.compat.xml
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static void WhenOptionalAttribute(
	this XmlNode node,
	string key,
	Action action
)

Parameters

node
Type: System.XmlXmlNode

[Missing <param name="node"/> documentation for "M:com.espertech.esper.compat.xml.XmlExtensions.WhenOptionalAttribute(System.Xml.XmlNode,System.String,System.Action`1)"]

key
Type: SystemString

[Missing <param name="key"/> documentation for "M:com.espertech.esper.compat.xml.XmlExtensions.WhenOptionalAttribute(System.Xml.XmlNode,System.String,System.Action`1)"]

action
Type: SystemActionT

[Missing <param name="action"/> documentation for "M:com.espertech.esper.compat.xml.XmlExtensions.WhenOptionalAttribute(System.Xml.XmlNode,System.String,System.Action`1)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XmlNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also