Create() static private method

static private Create ( PhoneNumberType type ) : PhoneNumber
type PhoneNumberType
return PhoneNumber
Esempio n. 1
0
        public PhoneNumber AddPhoneNumber(PhoneNumberType type)
        {
            PhoneNumber phoneNumber = PhoneNumber.Create(type);

            PhoneNumbers.Add(phoneNumber);

            return(phoneNumber);
        }