public void Push(CommandWithQuotation item)
 {
     lock (this._Lock)
     {
         this._Pool.Push(item);
     }
 }
示例#2
0
 public void AddQuotation(CommandWithQuotation quotation)
 {
     if (this._Container.Count == 0)
     {
         return;
     }
     this._Quotations.Enqueue(quotation);
     this._SendQuotationEvent.Set();
 }