# MermaidTimelinePeriod

Describes one Mermaid timeline time period and its events.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidTimelineDocument.cs:70](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineDocument.cs#L70)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes one Mermaid timeline time period and its events.

## Inheritance

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

## 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 [MermaidTimelineDocument.Periods](/api/chartforgex-mermaid-mermaidtimelinedocument/#property-periods)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidTimelinePeriod(string text, MermaidTimelineSection? section, MermaidSourceSpan span)` [#](#constructor-ctor-string-chartforgex-mermaid-mermaidtimelinesection-chartforgex-mermaid-mermaidsourcespan) 

[MermaidTimelineDocument.cs:70](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineDocument.cs#L70)

Initializes a timeline period.

Parameters

**text string required**

**section ChartForgeX.Mermaid.MermaidTimelineSection? 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) 

[MermaidTimelineDocument.cs:64](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineDocument.cs#L64)

Gets or sets the period text.

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

[MermaidTimelineDocument.cs:67](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineDocument.cs#L67)

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

 `public List<MermaidTimelineEvent> Events { get; }` [#](#property-events) 

[MermaidTimelineDocument.cs:70](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidTimelineDocument.cs#L70)

Gets events declared for the period.

## 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:3CA3C3CCA191B9378E22F2D0DFF53B7679D62CC2CD541B6BF1AAF3D6398ACA32 -->
