C# Класс NArrange.Core.CodeElements.AttributedElement

Represents a code element that can have attributes.
Наследование: TextCodeElement, IAttributedElement
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

AddAttribute() публичный Метод

Adds an attribute to this code element.
public AddAttribute ( IAttributeElement attributeElement ) : void
attributeElement IAttributeElement Attribute element to add.
Результат void

AttributedElement() защищенный Метод

Creates a new AttributedElement.
protected AttributedElement ( ) : System.Collections.Generic
Результат System.Collections.Generic

ClearAttributes() публичный Метод

Removes all attributes elements.
public ClearAttributes ( ) : void
Результат void

DoAttributedClone() защищенный абстрактный Метод

Creates a clone of the instance and copies any state.
protected abstract DoAttributedClone ( ) : AttributedElement
Результат AttributedElement

DoClone() защищенный закрытый Метод

Creates a clone of the instance and copies any state.
protected final DoClone ( ) : CodeElement
Результат CodeElement

RemoveAttribute() публичный Метод

Removes an attribute from this element.
public RemoveAttribute ( IAttributeElement attributeElement ) : void
attributeElement IAttributeElement Attribute element to remove.
Результат void