/// <summary> /// Retrieves enumeration of the targets' data</summary> /// <param name="targetConsumer">The target consumer to retrieve the data for</param> /// <returns>Enumeration of the targets to consume on the target consumer</returns> public IEnumerable <TargetInfo> GetTargets(ITargetConsumer targetConsumer) { foreach (var target in m_targets) { yield return(target); } }
/// <summary> /// Retrieves enumeration of the targets' data</summary> /// <param name="targetConsumer">The target consumer to retrieve the data for</param> /// <returns>Enumeration of the targets to consume on the target consumer</returns> public IEnumerable<TargetInfo> GetTargets(ITargetConsumer targetConsumer) { foreach (var target in m_targets) yield return target; }