C# 클래스 Neovim.MsgPackIO

파일 보기 프로젝트 열기: Pireax/neovim.cs 1 사용 예제들

공개 메소드들

메소드 설명
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