public void BeforeDisconnect(object sender, BeforeDisconnectEventArgs eventArgs) { Gui.InvokeOnUiThread(() => { Gui.SetLogForeColor(_hightlightColor); WriteLogLine(LogLevel.Info, sender, $" => Disconnect({eventArgs.Disposition})"); }); }
public void BeforeDisconnect(object sender, BeforeDisconnectEventArgs eventArgs) { Console.ForegroundColor = HighlightColor; WriteInfo(sender, String.Format("Disconnect({0})", eventArgs.Disposition)); Console.ForegroundColor = StandardColor; }