Пример #1
0
 public RpcAdapter addServant(RpcServant servant)
 {
     if (!_servants.ContainsKey(servant.delegate_.ifidx)) {
         _servants.Add( servant.delegate_.ifidx,servant.delegate_);
     }
     return this;
 }
Пример #2
0
 public RpcAdapter addServant(RpcServant servant)
 {
     if (!_servants.ContainsKey(servant.delegate_.ifidx))
     {
         _servants.Add(servant.delegate_.ifidx, servant.delegate_);
     }
     return(this);
 }