ParameterTypeParseCulture Method

Parses a CultureInfo from a non-null object.

Definition

Namespace: MobileTrack.Common.Enums
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static CultureInfo ParseCulture(
	Object value,
	CompanyDto currentCompany
)

Parameters

value  Object
Boolean to parse
currentCompany  CompanyDto
Current company (fallback value)

Return Value

CultureInfo
Parsed Boolean

Exceptions

ArgumentNullExceptionThrown if value is null
ArgumentExceptionThrown if value is not a CultureInfo

See Also