CxMember

Description

abstract class Tinman.Core.Cx.Declarations.CxMember

Abstract base for classes that represent a member declaration.

Public / Constructors

From​Source


public static method FromSource → (1)

source in : string

[not-null]
The source code.

returns → CxMember

The parsed type member.

Parses the given type member.

ValidatingException

If the syntax of source in is invalid.

See also

CxCodeUnit

Public / Methods

As​Region


public method AsRegion → (1)

name opt : string = null

The region name. If null, 'Members' will be used.

returns → CxRegion

The wrapping code region.

Wraps this member in a code region.

Public / Attributes

Full​Name


public attribute FullName → (get)

value : CxName

The fully-qualified name (namespace name of code unit plus type declaration name plus member name).

Returns the fully-qualified name of this member declaration.

Protected / Constructors

Cx​Member


protected constructor CxMember → (3)

xmlDoc in : CxXmlDoc

See ICxXmlDocContainer.XmlDoc.

attributes in : IBagConst<CxAttribute>

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

modifiers in : CxModifiers

See ICxModifiersContainer.Modifiers.

Creates a new instance of CxMember.