NeovimClient/NeovimClient.cs
/// <summary>
/// Fires a redraw event after getting a notification from the MsgPackIO class
/// </summary>
/// <param name="sender"></param>
/// <param name="msgPackNotificationEventArgs"></param>
Fires a redraw event after getting a notification from the MsgPackIO class
Fires a redraw event after getting a notification from the MsgPackIO class
private void OnNotificationReceived(object sender, MsgPackNotificationEventArgs msgPackNotificationEventArgs)
        {
            if (msgPackNotificationEventArgs.Method != "redraw")
                return;
            NeovimRedrawEventArgs args = new NeovimRedrawEventArgs();
            args.Methods = NotificationParser.ParseRedraw(msgPackNotificationEventArgs.Params.AsList());
            OnRedraw(args);
        }
private void OnNotificationReceived ( object sender , MsgPackNotificationEventArgs msgPackNotificationEventArgs ) { if ( msgPackNotificationEventArgs . Method != " " ) return ; NeovimRedrawEventArgs args = new NeovimRedrawEventArgs ( ) ; args . Methods = NotificationParser . ParseRedraw ( msgPackNotificationEventArgs . Params . AsList ( ) ) ; OnRedraw ( args ) ; }
Fires a redraw event after getting a notification from the MsgPackIO class
Fires a redraw event after getting a notification from the MsgPackIO class
sender
object
None
msgPackNotificationEventArgs
MsgPackNotificationEventArgs
None