# MermaidJourneyTask

Describes one scored Mermaid journey task.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidJourneyDocument.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidJourneyDocument.cs#L61)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes one scored Mermaid journey task.

## Inheritance

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

## 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 [MermaidJourneyDocument.Tasks](/api/chartforgex-mermaid-mermaidjourneydocument/#property-tasks)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidJourneyTask(string text, MermaidJourneySection? section, double score, MermaidSourceSpan span)` [#](#constructor-ctor-string-chartforgex-mermaid-mermaidjourneysection-double-chartforgex-mermaid-mermaidsourcespan) 

[MermaidJourneyDocument.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidJourneyDocument.cs#L61)

Initializes a journey task.

Parameters

**text string required**

**section ChartForgeX.Mermaid.MermaidJourneySection? required**

**score double 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 Text { get; set; }` [#](#property-text) 

[MermaidJourneyDocument.cs:52](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidJourneyDocument.cs#L52)

Gets or sets the task text.

 `public MermaidJourneySection? Section { get; set; }` [#](#property-section) 

[MermaidJourneyDocument.cs:55](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidJourneyDocument.cs#L55)

Gets or sets the containing section object, preserving repeated labels as distinct phases.

 `public double Score { get; set; }` [#](#property-score) 

[MermaidJourneyDocument.cs:58](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidJourneyDocument.cs#L58)

Gets or sets the Mermaid journey score.

 `public List<string> Actors { get; }` [#](#property-actors) 

[MermaidJourneyDocument.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidJourneyDocument.cs#L61)

Gets actors associated with the task.

## 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:DE87725E5754A7FF2FB444638E2295688FFD645AE9C83210479E0D1930526AD4 -->
