public void EvaluateOrphans(IItemData[] orphanItems) { Assert.ArgumentNotNull(orphanItems, "orphanItems"); EvaluatorUtility.RecycleItems(orphanItems, _sourceDataStore, item => _logger.DeletedItem(item)); foreach (var orphan in orphanItems) { _logger.Evaluated(orphan); } }
public void EvaluateOrphans(ISourceItem[] orphanItems) { Assert.ArgumentNotNull(orphanItems, "orphanItems"); EvaluatorUtility.RecycleItems(orphanItems, item => _logger.DeletedItem(item)); }