Table of Contents

Class RequestCulture

Namespace
Oqtane.Models
Assembly
Oqtane.Shared.dll

Culture information describing a Culture

public class RequestCulture
Inheritance
object
RequestCulture

Constructors

RequestCulture(CultureInfo)

Creates a new RequestCulture object with its Culture and UICulture properties set to the same System.Globalization.CultureInfo value.

public RequestCulture(CultureInfo culture)

Parameters

culture CultureInfo

The System.Globalization.CultureInfo for the request.

RequestCulture(CultureInfo, CultureInfo)

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective System.Globalization.CultureInfo values provided.

public RequestCulture(CultureInfo culture, CultureInfo uiCulture)

Parameters

culture CultureInfo

The System.Globalization.CultureInfo for the request to be used for formatting.

uiCulture CultureInfo

The System.Globalization.CultureInfo for the request to be used for text, i.e. language.

RequestCulture(string)

Creates a new RequestCulture object with its Culture and UICulture properties set to the same System.Globalization.CultureInfo value.

public RequestCulture(string culture)

Parameters

culture string

The culture for the request.

RequestCulture(string, string)

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective System.Globalization.CultureInfo values provided.

public RequestCulture(string culture, string uiCulture)

Parameters

culture string

The culture for the request to be used for formatting.

uiCulture string

The culture for the request to be used for text, i.e. language.

Properties

Culture

Gets the System.Globalization.CultureInfo for the request to be used for formatting.

public CultureInfo Culture { get; }

Property Value

CultureInfo

UICulture

Gets the System.Globalization.CultureInfo for the request to be used for text, i.e. language;

public CultureInfo UICulture { get; }

Property Value

CultureInfo