public static IndexingQueueItem Dequeue() { IndexingQueueItem item = IndexingQueueItem.Empty; if (!Items.IsEmpty) { Items.TryDequeue(out item); } return(item); }
public bool Equals(IndexingQueueItem other) { return(this.Language != null && (this.Id.Equals(other.Id) && string.Equals(this.Language, other.Language))); }