/// <inheritdoc/> protected override void Execute() { Nodes = new NamedCollection <CacheNode>(); _feeds = _feedCache.GetAll(); foreach (var feed in _feeds) { Add(GetFeedNode(feed)); } foreach (var digest in _implementationStore.ListAll()) { var node = GetImplementationNode(digest); if (node != null) { TotalSize += node.Size; Add(node); } } foreach (string path in _implementationStore.ListAllTemp()) { Add(GetTempNode(path)); } }
/// <inheritdoc/> protected override void Execute() { Nodes = new NamedCollection <CacheNode>(); _feeds = _feedCache.GetAll(); foreach (var feed in _feeds) { Add(feed); } foreach (var digest in _store.ListAll()) { Add(digest); } foreach (string path in _store.ListAllTemp()) { Add(path); } State = TaskState.Complete; }