ClassDiagramNamespace Class
A group of classes of a class diagram, drawn as a frame with a title.
public sealed class ClassDiagramNamespaceConstructors
| Name | Description |
|---|---|
| ClassDiagramNamespace(string, DiagramText?) | Initializes a new instance of the ClassDiagramNamespace class. |
ClassDiagramNamespace(string, DiagramText?)
ClassDiagramNamespace.csInitializes a new instance of the ClassDiagramNamespace class.
public ClassDiagramNamespace(string id, DiagramText? label = null)Parameters
idstring- The identifier, which is the title shown when there is no label.
labelDiagramText?- The title, or
nullto show the identifier.
Properties
| Name | Description |
|---|---|
| Classes | Gets the classes of the namespace. A class of several namespaces belongs to the innermost one. |
| Id | Gets the identifier of the namespace. |
| Label | Gets or sets the title, or null to show the identifier. |
| Namespaces | Gets the namespaces nested in this one. |
Classes
ClassDiagramNamespace.csGets the classes of the namespace. A class of several namespaces belongs to the innermost one.
public IList<ClassDiagramClass> Classes { get; }Property value
Gets or sets the title, or null to show the identifier.
public DiagramText? Label { get; set; }Property value
Namespaces
ClassDiagramNamespace.csGets the namespaces nested in this one.
public IList<ClassDiagramNamespace> Namespaces { get; }