Table of Contents

Class AttributeOwner

Namespace
LinqToDB.CodeModel
Assembly
linq2db.Tools.dll

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

IReadOnlyList<CodeAttribute>

ElementType

Type of node.

public abstract CodeElementType ElementType { get; }

Property Value

CodeElementType