Exemple #1
0
 /// <summary>
 /// Creates a new <see cref="JsBinding"/> instance.
 /// </summary>
 public JsBinding(JsContextScope scope, JsBinder binder, JsInterop interop, JavaScriptValue value)
 {
     _scope   = scope;
     _binder  = binder;
     _interop = interop;
     _value   = value;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new <see cref="JsCallback"/> instance.
 /// </summary>
 public JsCallback(JsExecutionContext context, JsContextScope scope, JsInterop interop, JavaScriptValue callback)
 {
     _context  = context;
     _scope    = scope;
     _interop  = interop;
     _callback = callback;
     _callback.AddRef();
 }
Exemple #3
0
 /// <summary>
 /// Creates a new <see cref="JsBindingBuilder"/> instance.
 /// </summary>
 public JsBindingBuilder(JsContextScope scope, JsBinder binder, JsInterop interop)
 {
     _scope   = scope;
     _binder  = binder;
     _interop = interop;
 }