CxTypeGeneric

Description

sealed class Tinman.Core.Cx.CxTypeGeneric

A reference to a specialization of a generic type:

TypeName<Type0, Type1, ... TypeN>
NamespaceName.TypeName<Type0, Type1, ... TypeN>
global::NamespaceName.TypeName<Type0, Type1, ... TypeN>

The CxType.ResolvedContext property may return the following values:

ICxTypesContainer.Types return the type arguments, which will never be empty.

Public / Constants

Context​Use​Curly


public constant ContextUseCurly → ("context-use-curly":string)

When set to true via Context.Set2, the ICodeOutput.WriteSourceCode method will output curly braces instead and angle braces for wrapping the generic type argument list.

Public / Constructors

Cx​Type​Generic


public constructor CxTypeGeneric → (2)

name in : CxName

See ICxNameContainer.Name.

types in : IBagConst<CxType>

[not-empty]
See ICxTypesContainer.Types.

Creates a new instance of CxTypeGeneric.

Serialization

Serial​Id


public static readonly attribute SerialId → (ISerialTypeInfo)

Serialization information about this type.