public ContactInformation ChangeSecondaryTelephone(Telephone telephone)
 {
     return(new ContactInformation(
                this.ContactType,
                this.EmailAddress,
                this.PostalAddress,
                this.PrimaryTelephone,
                telephone));
 }
 public ContactInformation(
     ContactType contactType,
     EmailAddress emailAddress,
     PostalAddress postalAddress,
     Telephone primaryTelephone,
     Telephone secondaryTelephone)
 {
     this.ContactType        = contactType;
     this.EmailAddress       = emailAddress;
     this.PostalAddress      = postalAddress;
     this.PrimaryTelephone   = primaryTelephone;
     this.SecondaryTelephone = secondaryTelephone;
 }
Пример #3
0
 public Telephone(Telephone telephone)
     : this(telephone.Number)
 {
 }