예제 #1
0
        public TestAggregateRoot(TestAggregateId id)
        {
            var @event = new TestCreateEvent(id);

            Apply(@event);
        }
예제 #2
0
 public void When(TestCreateEvent e)
 {
     Id = e.Id;
 }