/// <inheritdoc/> public void Add(TData data) { lock (queueData) { queueData.Enqueue(data); } Dispatch(); }
/// <inheritdoc/> public void Enqueue(TData data) { try { rwLock.EnterReadLock(); try { inContainer.Enqueue(data); } finally { rwLock.ExitReadLock(); } } catch { throw; } }