コード例 #1
0
ファイル: JsBinding.cs プロジェクト: enklu/orchid
 /// <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;
 }
コード例 #2
0
ファイル: JsCallback.cs プロジェクト: enklu/orchid
 /// <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();
 }
コード例 #3
0
ファイル: JsBindingBuilder.cs プロジェクト: enklu/orchid
 /// <summary>
 /// Creates a new <see cref="JsBindingBuilder"/> instance.
 /// </summary>
 public JsBindingBuilder(JsContextScope scope, JsBinder binder, JsInterop interop)
 {
     _scope   = scope;
     _binder  = binder;
     _interop = interop;
 }