Example #1
0
 private void ApplyChange(Event @event, bool isNew)
 {
     dynamic d = this;
     
     d.Handle(Converter.ChangeTo(@event,@event.GetType()));
     if (isNew)
     {
         _changes.Add(@event);
     }
 }      
Example #2
0
 protected void ApplyChange(Event @event)
 {
     ApplyChange(@event, true);
 }