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