Ejemplo n.º 1
0
        public void Add(MessageEnvelope envelope)
        {
            var id = GetId(envelope);
            ConsensusAggregate aggregate = GetConsensusAggregate(id);

            //add the signature to the aggregate
            aggregate.Add(envelope);
        }
Ejemplo n.º 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);
        }