# TextCaseTransformer

Applies the shared ChartForgeX text-case contract.

 Class  

`ChartForgeX.Typography`

**Namespace**

`ChartForgeX.Typography`

**Assembly**

`ChartForgeX`

**Source**

[TextFormatting.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L62)

**Modifiers**

static

Applies the shared ChartForgeX text-case contract.

## Inheritance

- object
- TextCaseTransformer

 Filter members   

    Show inherited   

 

## Methods

 `public static string Apply(string text, TextCaseTransform transform, CultureInfo? culture = null)` [#](#method-apply-string-chartforgex-typography-textcasetransform-globalization-cultureinfo) 

[TextFormatting.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L62)

Transforms text with the current culture unless another culture is supplied.

Parameters

**text string required**

**transform ChartForgeX.Typography.TextCaseTransform required**

**culture System.Globalization.CultureInfo? = null optional**

Returns

 `string` 

## 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?` 

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