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+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
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