# MermaidArchitectureService

Describes a Mermaid architecture service.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidArchitectureDocument.cs:63](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidArchitectureDocument.cs#L63)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid architecture service.

## Inheritance

- [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)
- MermaidArchitectureService

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [MermaidArchitectureDocument.Services](/api/chartforgex-mermaid-mermaidarchitecturedocument/#property-services)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidArchitectureService(string id, string title, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-chartforgex-mermaid-mermaidsourcespan) 

[MermaidArchitectureDocument.cs:63](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidArchitectureDocument.cs#L63)

Initializes an architecture service.

Parameters

**id string required**

**title string required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Id { get; set; }` [#](#property-id) 

[MermaidArchitectureDocument.cs:69](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidArchitectureDocument.cs#L69)

Gets or sets the Mermaid service identifier.

 `public string Title { get; set; }` [#](#property-title) 

[MermaidArchitectureDocument.cs:72](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidArchitectureDocument.cs#L72)

Gets or sets the authored service title; an empty value means no painted caption.

 `public string? Icon { get; set; }` [#](#property-icon) 

[MermaidArchitectureDocument.cs:75](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidArchitectureDocument.cs#L75)

Gets or sets the optional Mermaid icon token.

 `public string? GroupId { get; set; }` [#](#property-groupid) 

[MermaidArchitectureDocument.cs:78](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidArchitectureDocument.cs#L78)

Gets or sets the optional parent group id declared with Mermaid's in keyword.

## Inherited Properties

 `public MermaidSourceSpan Span { get; }` [#](#property-span) 

[MermaidAstNode.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidAstNode.cs#L13)

Inherited from [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)

<!-- PowerForge markdown artifact sha256:636E2ED32D4DD92DD6112E6C78C363AC4E05B28C9A645B5CAFA2F24876A345B7 -->
