This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using V8.Net; | |
namespace TestReturnValue | |
{ |