public Builder Put(string key, RpcItem item) { if (!_items.ContainsKey(key) && !IsNullOrEmpty(item)) { _items[key] = item; } return(this); }
public Builder Add(RpcItem item) { _items.Add(item); return(this); }
private static bool IsNullOrEmpty(RpcItem item) { return(item == null || item.IsEmpty()); }