Table of Contents

Class CodeVariable

Namespace
LinqToDB.CodeModel
Assembly
linq2db.Tools.dll

Variable declaration.

public sealed class CodeVariable : CodeTypedName, ITypedName, ILValue, ICodeElement
Inheritance
CodeVariable
Implements
Inherited Members
Extension Methods

Constructors

CodeVariable(CodeIdentifier, CodeTypeToken, bool)

public CodeVariable(CodeIdentifier name, CodeTypeToken type, bool rvalueTyped)

Parameters

name CodeIdentifier
type CodeTypeToken
rvalueTyped bool

CodeVariable(CodeIdentifier, IType, bool)

public CodeVariable(CodeIdentifier name, IType type, bool rvalueTyped)

Parameters

name CodeIdentifier
type IType
rvalueTyped bool

Properties

RValueTyped

Indicates that variable type could be infered from assigned value. This could be used to generate var instead of specific type.

public bool RValueTyped { get; }

Property Value

bool