Beispiel #1
0
        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);
        }
Beispiel #2
0
 protected override bool ExecuteAddAggregationParty(Party aggregationPartyToAdd)
 {
     AggregationParties.Add(aggregationPartyToAdd);
     return(true);
 }