Table of Contents

Class PropertyGroup

Namespace
LinqToDB.CodeModel
Assembly
linq2db.Tools.dll

Group of properties.

public sealed class PropertyGroup : MemberGroup<CodeProperty>, IMemberGroup, ICodeElement
Inheritance
PropertyGroup
Implements
Inherited Members
Extension Methods

Constructors

PropertyGroup(bool)

public PropertyGroup(bool tableLayout)

Parameters

tableLayout bool

PropertyGroup(IEnumerable<CodeProperty>?, bool)

public PropertyGroup(IEnumerable<CodeProperty>? members, bool tableLayout)

Parameters

members IEnumerable<CodeProperty>
tableLayout bool

Properties

ElementType

Type of node.

public override CodeElementType ElementType { get; }

Property Value

CodeElementType

TableLayout

Prefered group rendering layout: as-is or table layout.

public bool TableLayout { get; }

Property Value

bool

Methods

New(CodeIdentifier, IType)

public PropertyBuilder New(CodeIdentifier name, IType type)

Parameters

name CodeIdentifier
type IType

Returns

PropertyBuilder