예제 #1
0
파일: UnitOfWork.cs 프로젝트: nmigas/NES
 public void Commit()
 {
     foreach (var eventSource in _eventSources.Keys)
     {
         _eventSourceMapper.Set(_commandContext, eventSource);
     }
 }
예제 #2
0
 protected override void Event()
 {
     _eventSourceMapper.Set(_commandContext, _eventSource.Object);
 }