C# Класс Neovim.MsgPackIO

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MsgPackIO ( string filename, string args ) : System
Request ( int type, string method, object parameters, bool returnValue = true ) : MessagePackObject[]

This function makes a RPC call to the process and returns the reply

RequestAsync ( int type, string method, object parameters, bool returnValue = true ) : Task

Makes an async request

StartReadingOutput ( ) : void

Start reading asynchronously from the output and error streams

Защищенные методы

Метод Описание
GetStartInfo ( string filename, string args ) : ProcessStartInfo
InitializeProcess ( string filename, string args ) : void
OnNotificationReceived ( MsgPackNotificationEventArgs e ) : void

Приватные методы

Метод Описание
AttachStreams ( ) : void
ErrorCallback ( IAsyncResult ar ) : void

Callback for the error stream

OutputCallback ( IAsyncResult ar ) : void

Gets executed if BeginRead() has red some data

PrepareAsyncState ( ) : void
_process_Exited ( object sender, EventArgs e ) : void

Описание методов

GetStartInfo() защищенный Метод

protected GetStartInfo ( string filename, string args ) : ProcessStartInfo
filename string
args string
Результат System.Diagnostics.ProcessStartInfo

InitializeProcess() защищенный Метод

protected InitializeProcess ( string filename, string args ) : void
filename string
args string
Результат void

MsgPackIO() публичный Метод

public MsgPackIO ( string filename, string args ) : System
filename string
args string
Результат System

OnNotificationReceived() защищенный Метод

protected OnNotificationReceived ( MsgPackNotificationEventArgs e ) : void
e MsgPackNotificationEventArgs
Результат void

Request() публичный Метод

This function makes a RPC call to the process and returns the reply
public Request ( int type, string method, object parameters, bool returnValue = true ) : MessagePackObject[]
type int Type of request
method string Method name
parameters object Method parameters
returnValue bool Does it return?
Результат MessagePackObject[]

RequestAsync() публичный Метод

Makes an async request
public RequestAsync ( int type, string method, object parameters, bool returnValue = true ) : Task
type int Type of request
method string Method name
parameters object Method parameters
returnValue bool Does it return?
Результат Task

StartReadingOutput() публичный Метод

Start reading asynchronously from the output and error streams
public StartReadingOutput ( ) : void
Результат void