sealed class Tinman.Core.Cx.Declarations.CxMemberConstant

Derived from

CxMember abstract

A type member that defines a compile-time constant:

const int Name = 1;

Public / Constructors


public constructor CxMemberConstant → (4)

modifiers in : CxModifiers

See ICxModifiersContainer.Modifiers.

variable in : CxVariable

See Variable.

documentation opt : CxXmlDoc = null

See ICxDocumentationContainer.XmlDoc.

attributes opt : IBagConst<CxAttribute> = null

The attribute list of the member or null for an empty list. See ICxAttributesContainer.Attributes.

Creates a new instance of CxMemberConstant.

Public / Attributes


public attribute Variable → (get)

value : CxVariable

The variable definition.

Returns the variable definition of this constant.