TestimoX

API Reference

Enum

ReportLanguage

Namespace TestimoX.Reporting.Localization
Assembly TestimoX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed
Attributes
JsonConverter(typeof(ReportLanguageJsonConverter))

Supported output languages for management-facing reports.

Inheritance

  • Enum
  • ReportLanguage

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const ReportLanguage English #

English report output.

Value: 0
public const ReportLanguage Polish #

Polish report output.

Value: 1
public const ReportLanguage German #

German report output.

Value: 2
public const ReportLanguage Spanish #

Spanish report output.

Value: 3

Extension Methods

public static String ToCode(ReportLanguage language) #
Returns: String

Converts a report language to its stable short code.

Parameters

language TestimoX.Reporting.Localization.ReportLanguage requiredposition: 0
Language to convert.

Returns

Stable short code such as en or pl.

public static CultureInfo ToCultureInfo(ReportLanguage language) #
Returns: CultureInfo

Converts a report language to the preferred formatting culture for localized report chrome.

Parameters

language TestimoX.Reporting.Localization.ReportLanguage requiredposition: 0
Language to convert.

Returns

A stable culture for formatting localized strings.