private bool ReplaceMatchingEntries(IConversionParticipantList primary, IConversionParticipantList secondary) { if (primary.Count != secondary.Count) { return(false); } bool result = false; for (int i = 0; i < primary.Count; i++) { if ((this.CanResolveParticipant(primary[i]) || primary.IsConversionParticipantAlwaysResolvable(i)) && primary[i].AreAddressesEqual(secondary[i])) { primary[i] = secondary[i]; result = true; } } return(result); }
internal void AddParticipantList(IConversionParticipantList list) { this.participantLists.Add(list); }