# MermaidSequenceMessage

Describes a Mermaid sequence message. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

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

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid sequence message.

## Inheritance

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

## 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.Messages](/api/chartforgex-mermaid-mermaidsequencedocument/#property-messages)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidSequenceMessage(string sourceId, string targetId, string messageOperator, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-string-chartforgex-mermaid-mermaidsourcespan) 

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

Initializes a sequence message.

Parameters

**sourceId string required**

**targetId string required**

**messageOperator 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 SourceId { get; set; }` [#](#property-sourceid) 

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

Gets or sets the source participant id.

 `public string TargetId { get; set; }` [#](#property-targetid) 

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

Gets or sets the target participant id.

 `public string Operator { get; set; }` [#](#property-operator) 

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

Gets or sets the raw Mermaid message operator.

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

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

Gets or sets the message text.

 `public bool IsCentralConnection { get; set; }` [#](#property-iscentralconnection) 

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

Gets or sets whether the message uses Mermaid central connection syntax.

 `public bool ActivatesTarget { get; set; }` [#](#property-activatestarget) 

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

Gets or sets whether the operator activates the target participant.

 `public bool Deactivates { get; set; }` [#](#property-deactivates) 

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

Gets or sets whether the operator deactivates a participant.

## 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:5795ABCA3B507D2F3B954418F67E8DCC0E7E0310C10F73767246A7EF683C9DC4 -->
