C# Class NArrange.Core.CodeElements.TypeElement

Class/struct code element.
Inheritance: AttributedElement, IGenericElement
Exibir arquivo Open project: MarcStan/NArrange Class Usage Examples

Private Properties

Property Type Description

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.

AddInterface ( InterfaceReference interfaceReference ) : void

Adds an interface implementation to the type definition.

AddTypeParameter ( TypeParameter typeParameter ) : void

Adds a type parameter to the type parameter list.

Protected Methods

Method Description
DoAttributedClone ( ) : AttributedElement

Clones an attributed element.

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 Visitor to accept the code element.
return void

AddInterface() public method

Adds an interface implementation to the type definition.
public AddInterface ( InterfaceReference interfaceReference ) : void
interfaceReference InterfaceReference The interface reference.
return void

AddTypeParameter() public method

Adds a type parameter to the type parameter list.
public AddTypeParameter ( TypeParameter typeParameter ) : void
typeParameter TypeParameter The type parameter to add.
return void

DoAttributedClone() protected method

Clones an attributed element.
protected DoAttributedClone ( ) : AttributedElement
return AttributedElement