static NodejsFuncInvokeContext()
 {
     NodeJsFuncCompleteInstance = new NodejsFuncCompleteDelegate(NodejsFuncComplete);
     NodejsFuncCompleteCallback = Marshal.GetFunctionPointerForDelegate <NodejsFuncCompleteDelegate>(NodeJsFuncCompleteInstance);
 }
Пример #2
0
 static NodejsFuncInvokeContext()
 {
     NodeJsFuncCompleteInstance = new NodejsFuncCompleteDelegate(NodejsFuncComplete);
     NodejsFuncCompleteCallback = Marshal.GetFunctionPointerForDelegate<NodejsFuncCompleteDelegate>(NodeJsFuncCompleteInstance);
 }