# MermaidEventModelingRelation

Describes one Event Modeling relation between two timeframes.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

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

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes one Event Modeling relation between two timeframes.

## Inheritance

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

## 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 [MermaidEventModelingDocument.Relations](/api/chartforgex-mermaid-mermaideventmodelingdocument/#property-relations)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidEventModelingRelation(string sourceNumber, string targetNumber, bool isInferred, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-boolean-chartforgex-mermaid-mermaidsourcespan) 

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

Initializes an Event Modeling relation.

Parameters

**sourceNumber string required**

**targetNumber string required**

**isInferred 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 SourceNumber { get; }` [#](#property-sourcenumber) 

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

Gets the source timeframe number.

 `public string TargetNumber { get; }` [#](#property-targetnumber) 

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

Gets the target timeframe number.

 `public bool IsInferred { get; }` [#](#property-isinferred) 

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

Gets whether the relation was inferred from timeline order.

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