using System; using System.Collections.Generic; using System.Linq; using Umbraco.Cms.Core.Composing; namespace Umbraco.Cms.Core.Cache { public class CacheRefresherCollection : BuilderCollectionBase { public CacheRefresherCollection(IEnumerable items) : base(items) { } public ICacheRefresher this[Guid id] => this.FirstOrDefault(x => x.RefresherUniqueId == id); } }