ModelDataExtensionsGetCultureInfo Method

Helper method to copy the culture info.

Namespace:  Dundas.BI.WebApi.Models
Assembly:  Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public static CultureInfo? GetCultureInfo(
	this string cultureNameSource
)

Parameters

cultureNameSource
Type: SystemString
The culture name source.

Return Value

Type: CultureInfo
A CultureInfo object, or if none is found.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also