Exemplo n.º 1
0
 public Builder AddPhone(global::tutorial.Person.Types.PhoneNumber.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     result.phone_.Add(builderForValue.Build());
     return(this);
 }
Exemplo n.º 2
0
 public Builder SetPhone(int index, global::tutorial.Person.Types.PhoneNumber.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     result.phone_[index] = builderForValue.Build();
     return(this);
 }