# MermaidSequenceActivation

Describes a Mermaid sequence activation statement.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

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

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid sequence activation statement.

## Inheritance

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

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

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidSequenceActivation(string participantId, bool active, MermaidSourceSpan span)` [#](#constructor-ctor-string-boolean-chartforgex-mermaid-mermaidsourcespan) 

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

Initializes a sequence activation statement.

Parameters

**participantId string required**

**active bool 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 ParticipantId { get; set; }` [#](#property-participantid) 

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

Gets or sets the participant id.

 `public bool Active { get; set; }` [#](#property-active) 

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

Gets or sets whether this statement activates or deactivates the 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:86C80691128C3F86FC995BCDA03AA0FE6B9F277F62E80AA381C0F18C9FE64E3E -->
