ClassDiagramNamespace Class

A group of classes of a class diagram, drawn as a frame with a title.

public sealed class ClassDiagramNamespace

Constructors

NameDescription
ClassDiagramNamespace(string, DiagramText?)Initializes a new instance of the ClassDiagramNamespace class.

ClassDiagramNamespace(string, DiagramText?)

ClassDiagramNamespace.cs

Initializes a new instance of the ClassDiagramNamespace class.

public ClassDiagramNamespace(string id, DiagramText? label = null)

Parameters

id string
The identifier, which is the title shown when there is no label.
label DiagramText?
The title, or null to show the identifier.

Properties

NameDescription
ClassesGets the classes of the namespace. A class of several namespaces belongs to the innermost one.
IdGets the identifier of the namespace.
LabelGets or sets the title, or null to show the identifier.
NamespacesGets the namespaces nested in this one.

Gets the classes of the namespace. A class of several namespaces belongs to the innermost one.

public IList<ClassDiagramClass> Classes { get; }

Gets the identifier of the namespace.

public string Id { get; }

Property value

string

Gets or sets the title, or null to show the identifier.

public DiagramText? Label { get; set; }

Property value

DiagramText?

Gets the namespaces nested in this one.

public IList<ClassDiagramNamespace> Namespaces { get; }