示例#1
0
        public bool Remove(string key)
        {
            WeaveTable temp = temps.Find(x => x.Key == key);

            temps.Remove(temp);
            return(true);
        }
示例#2
0
 public bool Add(string key, object value)
 {
     try
     {
         WeaveTable t = new WeaveTable();
         t.Key   = key;
         t.Value = value;
         temps.Add(t);
         return(true);
     }
     catch { return(false); }
 }
示例#3
0
 public void SetGlobalQueueTable(WeaveTable weaveTable, List <WeaveTcpToken> TcpTokenlist)
 {
     WeaveTcpTokenList = TcpTokenlist;
     GlobalQueueTable  = weaveTable;
 }