protected void Publish(EngineEvent message, bool log = true) { if (log) { Log.Info("Event ({0}): {1}", message.GetType().Name, message.Message); } this.events.PublishOnBackgroundThread(message); }
protected void Publish(EngineEvent message, bool log = true) { if (log) { Log.Info("Event ({0}): {1}", message.GetType().Name, message.Message); } events.PublishOnBackgroundThread(message); }