public virtual bool AddAggregationParty(Party party) { if (party != null) { if (party.ChannelAccount != null) { throw new ArgumentException("Aggregation party cannot contain a channel account"); } if (!AggregationParties.Contains(party)) { AggregationParties.Add(party); return(true); } } return(false); }
protected override bool ExecuteAddAggregationParty(Party aggregationPartyToAdd) { AggregationParties.Add(aggregationPartyToAdd); return(true); }