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+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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