public IEnumerable <HttpCloneOptimizationReplace> AllItems() { List <HttpCloneOptimizationReplace> items = new List <HttpCloneOptimizationReplace>(); if (_remove != null) { HttpCloneOptimizationReplace remove = new HttpCloneOptimizationReplace(); remove.ReplaceItem = _remove.ReplaceItem; items.Add(remove); } if (_replace != null) { items.AddRange(_replace); } return(items); }
public IEnumerable<HttpCloneOptimizationReplace> AllItems() { List<HttpCloneOptimizationReplace> items = new List<HttpCloneOptimizationReplace>(); if (_remove != null) { HttpCloneOptimizationReplace remove = new HttpCloneOptimizationReplace(); remove.ReplaceItem = _remove.ReplaceItem; items.Add(remove); } if (_replace != null) items.AddRange(_replace); return items; }