public bool Enqueue(TKey key, TValue value)
 {
     lock (Lock)
     {
         try
         {
             List.Add(key, value);
             return(true);
         }
         catch (ArgumentException)
         {
             LogQueue.LogError("Cannot add element ({}, {}) to list, key already exists!", new object[] { key, value });
             return(false);
         }
     }
 }