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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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