Class AttributeOwner
Base class for elements with custom attributes.
public abstract class AttributeOwner : ICodeElement
- Inheritance
-
AttributeOwner
- Implements
- Derived
- Extension Methods
Constructors
AttributeOwner(IEnumerable<CodeAttribute>?)
protected AttributeOwner(IEnumerable<CodeAttribute>? customAttributes)
Parameters
customAttributes
IEnumerable<CodeAttribute>
Properties
CustomAttributes
Custom attributes.
public IReadOnlyList<CodeAttribute> CustomAttributes { get; }
Property Value
ElementType
Type of node.
public abstract CodeElementType ElementType { get; }