ArchitectureService Class

A service of an architecture diagram: an icon with its title below.

public sealed class ArchitectureService : ArchitectureNode
Inheritance
ArchitectureNode ArchitectureService

Constructors

NameDescription
ArchitectureService(string)Initializes a new instance of the ArchitectureService class.

ArchitectureService(string)

ArchitectureService.cs

Initializes a new instance of the ArchitectureService class.

public ArchitectureService(string id)

Parameters

id string
The identifier, unique in the diagram.

Properties

NameDescription
IconGets or sets the name of the icon: cloud, database, disk, internet or server. Another name, such as the icon of an icon pack of Mermaid (logos:aws-s3), is drawn as a question mark. null draws an empty square.
IconTextGets or sets a text drawn in the square instead of an icon, or null for none.
TitleGets or sets the title shown below the icon, or null for none.

Gets or sets the name of the icon: cloud, database, disk, internet or server. Another name, such as the icon of an icon pack of Mermaid (logos:aws-s3), is drawn as a question mark. null draws an empty square.

public string? Icon { get; set; }

Property value

string?

Gets or sets a text drawn in the square instead of an icon, or null for none.

public string? IconText { get; set; }

Property value

string?

Gets or sets the title shown below the icon, or null for none.

public DiagramText? Title { get; set; }

Property value

DiagramText?