示例#1
0
 public void Handle(PostBodyChanged evnt)
 {
     TestBase.EventHandlerWaiter.Set();
 }
示例#2
0
 void IEventHandler <PostBodyChanged> .Handle(PostBodyChanged evnt)
 {
     Body      = evnt.Body;
     UpdatedOn = evnt.UpdatedOn;
 }
示例#3
0
 public void Handle(PostBodyChanged evnt)
 {
     ConnectionFactory.CreateConnection().TryExecute((connection) => {
         connection.Update(new { Body = evnt.Body, UpdatedOn = evnt.UpdatedOn }, new { Id = evnt.PostId }, "tb_Post");
     });
 }