private void EnqueueTile(TileSpecifier specifier) { lock (SleepingDownloads) { SleepingDownloads.Add(specifier); } }
private bool IsTileNext(TileSpecifier specifier) { lock (SleepingDownloads) { return(specifier.IsEqualTo(SleepingDownloads.Last())); } }
private void DequeueTile(TileSpecifier specifier) { lock (SleepingDownloads) { if (SleepingDownloads.Contains(specifier)) { SleepingDownloads.Remove(specifier); } } }