예제 #1
0
 /// <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);
     }
 }
예제 #2
0
 /// <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;
 }