# MermaidSequenceBlock

Describes a Mermaid sequence block control statement.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidSequenceDocument.cs:189](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSequenceDocument.cs#L189)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid sequence block control statement.

## Inheritance

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

## 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 [MermaidSequenceDocument.Blocks](/api/chartforgex-mermaid-mermaidsequencedocument/#property-blocks)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidSequenceBlock(MermaidSequenceBlockKind kind, MermaidSourceSpan span)` [#](#constructor-ctor-chartforgex-mermaid-mermaidsequenceblockkind-chartforgex-mermaid-mermaidsourcespan) 

[MermaidSequenceDocument.cs:189](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSequenceDocument.cs#L189)

Initializes a sequence block statement.

Parameters

**kind ChartForgeX.Mermaid.MermaidSequenceBlockKind 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 MermaidSequenceBlockKind Kind { get; set; }` [#](#property-kind) 

[MermaidSequenceDocument.cs:192](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSequenceDocument.cs#L192)

Gets or sets the block statement kind.

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

[MermaidSequenceDocument.cs:195](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSequenceDocument.cs#L195)

Gets or sets the block text, branch text, or color value.

 `public int Depth { get; set; }` [#](#property-depth) 

[MermaidSequenceDocument.cs:198](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSequenceDocument.cs#L198)

Gets or sets the nesting depth at this statement.

## 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:6F1D6722BB6C9BA9CFFCFC14564EB5BC35064E47C89E522A9CF94F3B931938F1 -->
