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