# TerminalDialect

Specifies the prompt dialect presented by a terminal story.

 Enum  

`ChartForgeX.Terminal`

**Namespace**

`ChartForgeX.Terminal`

**Assembly**

`ChartForgeX.Stories`

**Source**

[TerminalStory.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStory.cs#L12)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Specifies the prompt dialect presented by a terminal story.

## Inheritance

- Enum
- TerminalDialect

## Usage

 Explore 17 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 10

- Property [StoryReplay.Dialect](/api/chartforgex-stories-storyreplay/#property-dialect)
- Property [StoryReplayEvent.TabDialect](/api/chartforgex-stories-storyreplayevent/#property-tabdialect)
- Field [TerminalDialect.Bash](/api/chartforgex-terminal-terminaldialect/#field-bash)
- Field [TerminalDialect.CommandPrompt](/api/chartforgex-terminal-terminaldialect/#field-commandprompt)
- Field [TerminalDialect.CSharp](/api/chartforgex-terminal-terminaldialect/#field-csharp)
- Field [TerminalDialect.Custom](/api/chartforgex-terminal-terminaldialect/#field-custom)
- Field [TerminalDialect.PowerShell](/api/chartforgex-terminal-terminaldialect/#field-powershell)
- Field [TerminalDialect.Python](/api/chartforgex-terminal-terminaldialect/#field-python)
- Property [TerminalStory.Dialect](/api/chartforgex-terminal-terminalstory/#property-dialect)
- Property [TerminalTab.Dialect](/api/chartforgex-terminal-terminaltab/#property-dialect)

### Accepted by parameters 7

- Method [StoryReplay.Create](/api/chartforgex-stories-storyreplay/#method-create-timespan-chartforgex-terminal-terminaldialect-string-string-string) parameter `dialect`
- Method [StoryReplay.OpenTab](/api/chartforgex-stories-storyreplay/#method-opentab-timespan-string-string-chartforgex-terminal-terminaldialect-string-string) parameter `dialect`
- Extension method [TerminalStory.Dialect](/api/chartforgex-terminal-terminalstory/#extension-dialect-chartforgex-terminal-terminalstory-chartforgex-terminal-terminaldialect-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `dialect`
- Method [TerminalStory.DeclareTab](/api/chartforgex-terminal-terminalstory/#method-declaretab-string-string-chartforgex-terminal-terminaldialect-string-chartforgex-themes-visualtheme-nullable-chartforgex-icon-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `dialect`
- Method [TerminalStory.InitialTab](/api/chartforgex-terminal-terminalstory/#method-initialtab-string-string-chartforgex-terminal-terminaldialect-string-chartforgex-themes-visualtheme-nullable-chartforgex-icon-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `dialect`
- Method [TerminalStory.OpenTab](/api/chartforgex-terminal-terminalstory/#method-opentab-string-string-chartforgex-terminal-terminaldialect-string-chartforgex-themes-visualtheme-nullable-chartforgex-icon-string-double-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `dialect`
- Method [TerminalStoryFluent.Dialect](/api/chartforgex-terminal-terminalstoryfluent/#method-dialect-chartforgex-terminal-terminalstory-chartforgex-terminal-terminaldialect-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `dialect`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from Enum

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Enum

Returns

 `string` 

 `public string ToString(string? format)` [#](#method-tostring-string) 

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const TerminalDialect PowerShell` [#](#field-powershell) 

[TerminalStory.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStory.cs#L14)

PowerShell prompt.

Value: `0`

 `public const TerminalDialect Bash` [#](#field-bash) 

[TerminalStory.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStory.cs#L16)

POSIX shell prompt.

Value: `1`

 `public const TerminalDialect CommandPrompt` [#](#field-commandprompt) 

[TerminalStory.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStory.cs#L18)

Windows command prompt.

Value: `2`

 `public const TerminalDialect Python` [#](#field-python) 

[TerminalStory.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStory.cs#L20)

Python interactive prompt.

Value: `3`

 `public const TerminalDialect CSharp` [#](#field-csharp) 

[TerminalStory.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStory.cs#L22)

C# interactive prompt.

Value: `4`

 `public const TerminalDialect Custom` [#](#field-custom) 

[TerminalStory.cs:24](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStory.cs#L24)

Caller-defined prompt.

Value: `5`

<!-- PowerForge markdown artifact sha256:97F271CF6F0D67A6B6C45788B9E8BADAA2EBFE888DCD0AF8C3B61E27DC4CD8D4 -->
