コード例 #1
0
            public Builder Put(string key, RpcItem item)
            {
                if (!_items.ContainsKey(key) && !IsNullOrEmpty(item))
                {
                    _items[key] = item;
                }

                return(this);
            }
コード例 #2
0
            public Builder Add(RpcItem item)
            {
                _items.Add(item);

                return(this);
            }
コード例 #3
0
 private static bool IsNullOrEmpty(RpcItem item)
 {
     return(item == null || item.IsEmpty());
 }