Example #1
0
 public HostList.Builder SetList(int index, Host.Builder builderForValue)
 {
     ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     this.PrepareBuilder();
     this.result.list_[index] = builderForValue.Build();
     return(this);
 }
Example #2
0
 public HostList.Builder AddList(Host.Builder builderForValue)
 {
     ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     this.PrepareBuilder();
     this.result.list_.Add(builderForValue.Build());
     return(this);
 }