コード例 #1
0
        public static IndexingQueueItem Dequeue()
        {
            IndexingQueueItem item = IndexingQueueItem.Empty;

            if (!Items.IsEmpty)
            {
                Items.TryDequeue(out item);
            }

            return(item);
        }
コード例 #2
0
 public bool Equals(IndexingQueueItem other)
 {
     return(this.Language != null && (this.Id.Equals(other.Id) && string.Equals(this.Language, other.Language)));
 }