CxMemberConstructor

Description

sealed class Tinman.Core.Cx.Declarations.CxMemberConstructor

A type member that constructs a new type instance:

...
Type(int p0, ..., int pN)
  : base(a0, ..., aN)
{
  a = 1;
}

...
Type();

ICxExpressionsContainer.Expressions returns the base constructor call arguments.
ICxTypeContainer.Type returns CxDeclaration.AsType of the enclosing declaration.

Public / Constructors

Cx​Member​Constructor


public constructor CxMemberConstructor → (7)

modifiers in : CxModifiers

See ICxModifiersContainer.Modifiers.

name in : CxId

See ICxIdContainer.Name.

body in : CxStatementBlock

[not-null]
See Body.

xmlDoc opt : CxXmlDoc = null

See ICxXmlDocContainer.XmlDoc.

attributes opt : IBagConst<CxAttribute> = null

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

parameters opt : IBagConst<CxParameter> = null

The parameter list of the constructor or null for an empty list. See ICxParametersContainer.Parameters.

expressions opt : IBagConst<CxExpression> = null

The base constructor call argument list or null for an empty list. See ICxExpressionsContainer.Expressions.

Creates a new instance of CxMemberConstructor.

Public / Attributes

Body


[Constant]
public attribute Body → (get)

value : CxStatementBlock

[not-null]
The constructor body.

Returns the constructor body.