Constructs a new culture scope, setting the threads CurrentCulture and CurrentUiCulture and resetting when this is disposed.

Namespace: Composite.Core.Threading
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public ThreadCultureScope(
	CultureInfo culture,
	CultureInfo uiCulture
)
Visual Basic
Public Sub New ( _
	culture As CultureInfo, _
	uiCulture As CultureInfo _
)
Visual C++
public:
ThreadCultureScope(
	CultureInfo^ culture, 
	CultureInfo^ uiCulture
)

Parameters

culture
Type: System.Globalization..::..CultureInfo
Desired culture to be in effect
uiCulture
Type: System.Globalization..::..CultureInfo
Desired UI culture to be in effect

See Also