C# Class NArrange.Core.CodeElements.AttributeElement

Attribute code element.
Inheritance: TextCodeElement, IAttributeElement
Exibir arquivo Open project: MarcStan/NArrange Class Usage Examples

Public Methods

Method Description
Accept ( ICodeElementVisitor visitor ) : void

Allows an ICodeElementVisitor to process (or visit) this element.

See the Gang of Four Visitor design pattern.

AttributeElement ( )

Creates a new attribute element.

AttributeElement ( string name )

Creates a new attribute element with the specified name.

Protected Methods

Method Description
DoClone ( ) : CodeElement

Clones this instance.

Method Details

Accept() public method

Allows an ICodeElementVisitor to process (or visit) this element.
See the Gang of Four Visitor design pattern.
public Accept ( ICodeElementVisitor visitor ) : void
visitor ICodeElementVisitor Code element visitor.
return void

AttributeElement() public method

Creates a new attribute element.
public AttributeElement ( )

AttributeElement() public method

Creates a new attribute element with the specified name.
public AttributeElement ( string name )
name string Attribute name.

DoClone() protected method

Clones this instance.
protected DoClone ( ) : CodeElement
return CodeElement