Table of Contents

Class TypeBase

Namespace
LinqToDB.CodeModel
Assembly
linq2db.Tools.dll

Base class for types.

public abstract class TypeBase : AttributeOwner, ITopLevelElement, ICodeElement
Inheritance
TypeBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

TypeBase(IEnumerable<CodeAttribute>?, Modifiers, CodeXmlComment?, IType, CodeIdentifier)

protected TypeBase(IEnumerable<CodeAttribute>? customAttributes, Modifiers attributes, CodeXmlComment? xmlDoc, IType type, CodeIdentifier name)

Parameters

customAttributes IEnumerable<CodeAttribute>
attributes Modifiers
xmlDoc CodeXmlComment
type IType
name CodeIdentifier

Properties

Attributes

Type modifiers and attributes.

public Modifiers Attributes { get; }

Property Value

Modifiers

Name

Type name.

public CodeIdentifier Name { get; }

Property Value

CodeIdentifier

Type

Type definition.

public IType Type { get; }

Property Value

IType

XmlDoc

Xml-doc comment.

public CodeXmlComment? XmlDoc { get; }

Property Value

CodeXmlComment