示例#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);
 }