C# Class AODL.Document.Content.OfficeEvents.EventListener

Summary for EventListener.
Inheritance: IContent, ICloneable
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Create a deep clone of this EventListener object.

A possible Attached Style wouldn't be cloned!

EventListener ( IDocument document, XmlNode node ) : System

Initializes a new instance of the EventListener class.

EventListener ( IDocument document, string eventname, string language, string href ) : System

Initializes a new instance of the EventListener class.

Protected Methods

Method Description
CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

Private Methods

Method Description
NewXmlNode ( ) : void

News the XML node.

Method Details

Clone() public method

Create a deep clone of this EventListener object.
A possible Attached Style wouldn't be cloned!
public Clone ( ) : object
return object

CreateAttribute() protected method

Create a XmlAttribute for propertie XmlNode.
protected CreateAttribute ( string name, string text, string prefix ) : void
name string The attribute name.
text string The attribute value.
prefix string The namespace prefix.
return void

EventListener() public method

Initializes a new instance of the EventListener class.
public EventListener ( IDocument document, XmlNode node ) : System
document IDocument The document.
node System.Xml.XmlNode The node.
return System

EventListener() public method

Initializes a new instance of the EventListener class.
public EventListener ( IDocument document, string eventname, string language, string href ) : System
document IDocument The document.
eventname string The eventname.
language string The language.
href string The href.
return System