示例#1
0
        public void Add(MessageEnvelope envelope)
        {
            var id = GetId(envelope);
            ConsensusAggregate aggregate = GetConsensusAggregate(id);

            //add the signature to the aggregate
            aggregate.Add(envelope);
        }
示例#2
0
        public void Add(IncomingMessage message)
        {
            var id = GetId(message.Envelope);
            ConsensusAggregate aggregate = GetConsensusAggregate(id);

            //add the signature to the aggregate
            aggregate.Add(message);
        }