private void RaiseReceiveMessage(UpdaterClientEventArgs args) { var handler = ReceiveMessage; if (handler != null) { handler(this, args); } }
private void Handler_ReceiveMessage(object sender, UpdaterClientEventArgs e) { synchronizationContext.Post(UpdateLog, e.Message); }