C# 클래스 V8.Net.V8Engine

파일 보기 프로젝트 열기: rjamesnw/v8dotnet 1 사용 예제들

공개 메소드들

메소드 설명
PauseWorker ( ) : void

Pauses the worker thread (usually for debug purposes). (Note: The worker thread manages object GC along with the native V8 GC.)

ResumeWorker ( ) : void

Unpauses the worker thread (see PauseWorker).

RunMarshallingTests ( ) : void

If there's any marshalling incompatibility, this will throw an exception.

_ThrowMarshalTestError ( string structName, string fieldName, byte offset, byte goodData, byte badValues, int badValLen ) : void

비공개 메소드들

메소드 설명
_DoWorkStep ( ) : bool

Does one step in the work process (mostly garbage collection for freeing up unused handles). True is returned if more work is pending, and false otherwise.

_GetMarshalTestByteValue ( byte ofs, byte &data ) : byte
_GetMarshalTestDoubleValue ( byte ofs, byte &data ) : double
_GetMarshalTestInt32Value ( byte ofs, byte &data ) : Int32
_GetMarshalTestInt64Value ( byte ofs, byte &data ) : System.Int64
_GetMarshalTestPTRValue ( byte ofs, byte &data ) : System.Int64
_Initialize_Worker ( ) : void
_TerminateWorker ( ) : void

Terminates the worker thread, without a 3 second timeout to be sure. This is called when the engine is shutting down. (Note: The worker thread manages object GC along with the native V8 GC.)

_WorkerLoop ( ) : void

메소드 상세

PauseWorker() 공개 메소드

Pauses the worker thread (usually for debug purposes). (Note: The worker thread manages object GC along with the native V8 GC.)
public PauseWorker ( ) : void
리턴 void

ResumeWorker() 공개 메소드

Unpauses the worker thread (see PauseWorker).
public ResumeWorker ( ) : void
리턴 void

RunMarshallingTests() 공개 메소드

If there's any marshalling incompatibility, this will throw an exception.
public RunMarshallingTests ( ) : void
리턴 void

_ThrowMarshalTestError() 공개 메소드

public _ThrowMarshalTestError ( string structName, string fieldName, byte offset, byte goodData, byte badValues, int badValLen ) : void
structName string
fieldName string
offset byte
goodData byte
badValues byte
badValLen int
리턴 void