Exemplo n.º 1
0
 internal async Task PluginLogNotification(PluginLogNotification notification)
 {
     if (PluginLogEvent != null)
     {
         await PluginLogEvent?.Invoke(notification);
     }
 }
 private async Task Plugin_LogEvent(PluginLogNotification log)
 {
     await Application.Current.Dispatcher.InvokeAsync(delegate
     {
         _pluginConsole.AddOutput(log.Message);
         PluginConsole.ScrollToBottom();
     });
 }
 public async Task Handle(PluginLogNotification notification, CancellationToken cancellationToken)
 {
     await _relayEventHandler.PluginLogNotification(notification);
 }