ModelFactoryGenerateEmptyPhoneNumber Method

Generates a new PhoneNumber; we need currentCompany to determine the country code.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static PhoneNumber GenerateEmptyPhoneNumber(
	CompanyDto currentCompany
)

Parameters

currentCompany  CompanyDto
The company to generate the empty phone number for. If the company doesn't have one assigned, Dutch will be used instead.

Return Value

PhoneNumber
Generated phone number.

Exceptions

ArgumentNullExceptionThrown if currentCompany is .

See Also