# SequenceArtifactBranch

Describes one branch span within an alternative, parallel, or critical sequence block.

 Class  

`ChartForgeX.VisualArtifacts`

**Namespace**

`ChartForgeX.VisualArtifacts`

**Assembly**

`ChartForgeX`

**Source**

[SequenceArtifactModels.cs:435](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L435)

**Modifiers**

sealed

Describes one branch span within an alternative, parallel, or critical sequence block.

## Inheritance

- object
- SequenceArtifactBranch

## 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 [SequenceArtifact.Branches](/api/chartforgex-visualartifacts-sequenceartifact/#property-branches)

 Filter members   

    Show inherited   

 

## Constructors

 `public SequenceArtifactBranch(SequenceArtifactBlockKind parentKind, string kind, string text, int startStepIndex, int endStepIndex, int depth = 0, bool isEmpty = false)` [#](#constructor-ctor-chartforgex-visualartifacts-sequenceartifactblockkind-string-string-int32-int32-int32-boolean) 

[SequenceArtifactModels.cs:435](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L435)

Initializes a sequence branch span.

Parameters

**parentKind ChartForgeX.VisualArtifacts.SequenceArtifactBlockKind required**

**kind string required**

**text string required**

**startStepIndex int required**

**endStepIndex int required**

**depth int = 0 optional**

**isEmpty bool = false optional**

## 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 SequenceArtifactBlockKind ParentKind { get; set; }` [#](#property-parentkind) 

[SequenceArtifactModels.cs:446](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L446)

Gets or sets the enclosing block kind.

 `public string Kind { get; set; }` [#](#property-kind) 

[SequenceArtifactModels.cs:449](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L449)

Gets or sets the product-neutral branch kind token.

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

[SequenceArtifactModels.cs:452](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L452)

Gets or sets the branch label.

 `public int StartStepIndex { get; set; }` [#](#property-startstepindex) 

[SequenceArtifactModels.cs:455](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L455)

Gets or sets the first covered step index.

 `public int EndStepIndex { get; set; }` [#](#property-endstepindex) 

[SequenceArtifactModels.cs:458](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L458)

Gets or sets the last covered step index.

 `public bool IsEmpty { get; set; }` [#](#property-isempty) 

[SequenceArtifactModels.cs:461](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L461)

Gets or sets whether the branch contains no message steps.

 `public int Depth { get; set; }` [#](#property-depth) 

[SequenceArtifactModels.cs:464](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/SequenceArtifactModels.cs#L464)

Gets or sets the source nesting depth.

<!-- PowerForge markdown artifact sha256:D8520813D29408C5C9B4EDB42A0D265D1A21B3A1ED8498780839A15975F7F5B6 -->
