Espresso.NativeV8JsInterOp.ResultSetJsValue C# (CSharp) Method

ResultSetJsValue() private method

private ResultSetJsValue ( IntPtr callingArgsPtr, Espresso.JsValue jsvalue ) : void
callingArgsPtr System.IntPtr
jsvalue Espresso.JsValue
return void
        internal static extern void ResultSetJsValue(IntPtr callingArgsPtr, JsValue jsvalue);

Usage Example

示例#1
0
        public void SetResultAutoWrap <T>(T result)
            where T : class, new()
        {
            Type actualType = result.GetType();
            var  jsTypeDef  = this.context.GetJsTypeDefinition(actualType);
            var  proxy      = this.context.CreateWrapper(result, jsTypeDef);

            NativeV8JsInterOp.ResultSetJsValue(metArgsPtr,
                                               this.context.Converter.ToJsValue(proxy));
        }
All Usage Examples Of Espresso.NativeV8JsInterOp::ResultSetJsValue