/// <summary> /// Returns a list with the names of all the agents that contain a certain string. /// </summary> /// <returns>The name fragment that the agent names should contain</returns> public IEnumerable <CognitiveAgent> FilteredCognitiveAgentsByClassId(IClassId classId) { return(Agents.FilteredByClassId(classId).OfType <CognitiveAgent>()); }
/// <summary> /// Returns a list with the names of all the agents that contain a certain string. /// </summary> /// <returns>The name fragment that the agent names should contain</returns> public IEnumerable <ReactiveAgent> FilteredAgentsByClassId(IClassId classId) { return(Agents.FilteredByClassId(classId)); }