Skip to content

Instantly share code, notes, and snippets.

James rjamesnw

Block or report user

Report or block rjamesnw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Custom Object Binder Example.cs
[ScriptObject(ScriptMemberSecurity.NoAcccess)] // (default all members to "no access")
public class MyJSObject
[Inject] // (inject a value; will only work if the type binder creates the instance, or associates a binder to the instance)
//#pragma warning disable 0649 // (assigned by the type binder - OR simply explicitly set a null value to remove the warning)
TypeBinder _TypeBinder = null;
//#pragma warning restore 0649
public MyJSObject()
View V8dotnetTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using V8.Net;
namespace TestReturnValue
You can’t perform that action at this time.