Table of Contents

Class ClassModel

Namespace
LinqToDB.DataModel
Assembly
linq2db.Tools.dll

Contains basic properties of class.

public sealed class ClassModel
Inheritance
ClassModel
Extension Methods

Constructors

ClassModel(string)

public ClassModel(string name)

Parameters

name string

ClassModel(string, string)

public ClassModel(string fileName, string name)

Parameters

fileName string
name string

Properties

BaseType

Gets or sets type of base class to inherit current class from.

public IType? BaseType { get; set; }

Property Value

IType

CustomAttributes

List of additional custom attributes. Doesn't include metadata attributes.

public List<CodeAttribute>? CustomAttributes { get; set; }

Property Value

List<CodeAttribute>

FileName

Gets or sets optional file name for class without extension.

public string? FileName { get; set; }

Property Value

string

Interfaces

List of implemented interfaces, could be null.

public List<IType>? Interfaces { get; set; }

Property Value

List<IType>

Modifiers

Get or sets class modifiers.

public Modifiers Modifiers { get; set; }

Property Value

Modifiers

Name

Gets or sets class name.

public string Name { get; set; }

Property Value

string

Namespace

Gets or sets class namespace.

public string? Namespace { get; set; }

Property Value

string

Summary

Gets or sets xml-doc comment summary section text for class.

public string? Summary { get; set; }

Property Value

string