public void When(TestCreateEntityPublicEvent e)
        {
            var entity = new TestEntity(Root, e.EntityId);

            Entities.Add(entity);
        }
Beispiel #2
0
        public void MakeEntityPublicEvent()
        {
            var @event = new TestCreateEntityPublicEvent(state.EntityId);

            Apply(@event);
        }