CxNamespace

Description

sealed class Tinman.Core.Cx.CxNamespace

A pseudo PSI-node that represents a namespace, for example System.Collections.

The namespace name (see ICxIdContainer.Name) will be CxName.Invalid iff this CxNamespace is the root namespace of the enclosing library (see ICxNamespaceContainer.Root). The parent node (see CxNode.Parent) will either be the parent CxNamespace object or null, iff this already is the root namespace.

Public / Methods

Get

2 overloads


[Pure]
public method Get1 → (1)

name in : CxId

The name to use for fetching the namespace.

returns → CxNamespace

The namespace or null if not found.

Fetches a child namespace using the given relative name in.


[Pure]
public method Get2 → (3)

name in : CxName

The name parts to use for fetching the namespace.

first opt : int32 = 0

[0..name.Count]
Index of first name part in name in to use.

count opt : int32 = -1

[-1..name.Count-first]
Number of name parts to use.

returns → CxNamespace

The namespace or null if not found.

Fetches a descendant namespace using the given relative name in.

Serialization

Serial​Id


public static readonly attribute SerialId → (ISerialTypeInfo)

Serialization information about this type.