private ParticipantSet RetrieveReplyAllData(IDictionary <RecipientItemType, HashSet <IParticipant> > replyAllTable) { ParticipantSet participantSet = new ParticipantSet(); foreach (KeyValuePair <RecipientItemType, HashSet <IParticipant> > keyValuePair in replyAllTable) { participantSet.UnionWith(keyValuePair.Value); } return(participantSet); }
public void Add(RecipientItemType type, IEnumerable <IParticipant> participants) { ParticipantSet orCreateParticipantHash = this.GetOrCreateParticipantHash(type); orCreateParticipantHash.UnionWith(participants); }