CxAttribute

Description

sealed class Tinman.Core.Cx.Declarations.CxAttribute

A compile-time attribute for types, members and parameters:

Type
Type(a, b, c)

ICxExpressionsContainer.Expressions returns the attribute arguments.

Public / Constructors

Cx​Attribute


public constructor CxAttribute → (3)

type in : CxTypeName

[not-null]
See Type.

expressions opt : IBagConst<CxExpression> = null

The attribute argument list or null for an empty list. See ICxExpressionsContainer.Expressions.

copy opt : bool = true

Create a copy of expressions opt, instead of trying to use it directly?

Creates a new instance of CxAttribute.

Public / Attributes

Type


[Constant]
public attribute Type → (get)

value : CxTypeName

[not-null]
The attribute type.

Returns the attribute type.

Serialization

Serial​Id


public static readonly attribute SerialId → (ISerialTypeInfo)

Serialization information about this type.