示例#1
0
 /// <summary>
 /// Specifies the country code of the phone number.
 /// </summary>
 /// <param name="code">The country code.</param>
 /// <return>The next stage of the definition.</return>
 DomainContact.Definition.IWithPhoneNumber <AppServiceDomain.Definition.IWithCreate> DomainContact.Definition.IWithPhoneCountryCode <AppServiceDomain.Definition.IWithCreate> .WithPhoneCountryCode(CountryPhoneCode code)
 {
     return(this.WithPhoneCountryCode(code) as DomainContact.Definition.IWithPhoneNumber <AppServiceDomain.Definition.IWithCreate>);
 }
 ///GENMHASH:4B771256FCDA8C3E76180E4C619BD572:8FDF79DE1C72832B4A51E71DB3D083BB
 public DomainContactImpl WithPhoneCountryCode(CountryPhoneCode code)
 {
     Inner.Phone = code.ToString() + ".";
     return(this);
 }