Ejemplo n.º 1
0
        public IEnumerable <IDataChangeEvent> Handle(INotificationEvent evt)
        {
            this.updatedReadModels.Clear();

            // now, for each domain event, call a method that takes the event and call it
            // todo: should we check for not handling the event or not.  read model builders probably don't need to
            // handle *everthing*
            MethodExecutor.ExecuteMethodForParams(this, evt.Event);

            return(this.updatedReadModels);
        }