C# Class NArrange.Core.CodeElements.AttributedElement

Represents a code element that can have attributes.
Inheritance: TextCodeElement, IAttributedElement
ファイルを表示 Open project: MarcStan/NArrange Class Usage Examples

Public Methods

Method Description
AddAttribute ( IAttributeElement attributeElement ) : void

Adds an attribute to this code element.

ClearAttributes ( ) : void

Removes all attributes elements.

RemoveAttribute ( IAttributeElement attributeElement ) : void

Removes an attribute from this element.

Protected Methods

Method Description
AttributedElement ( ) : System.Collections.Generic

Creates a new AttributedElement.

DoAttributedClone ( ) : AttributedElement

Creates a clone of the instance and copies any state.

DoClone ( ) : CodeElement

Creates a clone of the instance and copies any state.

Method Details

AddAttribute() public method

Adds an attribute to this code element.
public AddAttribute ( IAttributeElement attributeElement ) : void
attributeElement IAttributeElement Attribute element to add.
return void

AttributedElement() protected method

Creates a new AttributedElement.
protected AttributedElement ( ) : System.Collections.Generic
return System.Collections.Generic

ClearAttributes() public method

Removes all attributes elements.
public ClearAttributes ( ) : void
return void

DoAttributedClone() protected abstract method

Creates a clone of the instance and copies any state.
protected abstract DoAttributedClone ( ) : AttributedElement
return AttributedElement

DoClone() protected final method

Creates a clone of the instance and copies any state.
protected final DoClone ( ) : CodeElement
return CodeElement

RemoveAttribute() public method

Removes an attribute from this element.
public RemoveAttribute ( IAttributeElement attributeElement ) : void
attributeElement IAttributeElement Attribute element to remove.
return void