C# Class NArrange.Core.CodeElements.AttributedElement

Represents a code element that can have attributes.
Inheritance: TextCodeElement, IAttributedElement
Afficher le fichier Open project: MarcStan/NArrange Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

AttributedElement() protected méthode

Creates a new AttributedElement.
protected AttributedElement ( ) : System.Collections.Generic
Résultat System.Collections.Generic

ClearAttributes() public méthode

Removes all attributes elements.
public ClearAttributes ( ) : void
Résultat void

DoAttributedClone() protected abstract méthode

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

DoClone() protected final méthode

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

RemoveAttribute() public méthode

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