public void When(TestCreateEventFooBar e)
 {
     Id = e.Id;
 }
예제 #2
0
        public TestAggregateRootFooBar(FooBarId id)
        {
            var @event = new TestCreateEventFooBar(id);

            Apply(@event);
        }