コード例 #1
0
 public static V8ContextProxy Create(V8IsolateProxy isolateProxy, string name, bool enableDebugging, bool disableGlobalMembers, int debugPort)
 {
     return(CreateImpl <V8ContextProxy>(isolateProxy, name, enableDebugging, disableGlobalMembers, debugPort));
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new V8 runtime instance with the specified name, resource constraints, options, and debug port.
 /// </summary>
 /// <param name="name">A name to associate with the instance. Currently this name is used only as a label in presentation contexts such as debugger user interfaces.</param>
 /// <param name="constraints">Resource constraints for the instance.</param>
 /// <param name="flags">A value that selects options for the operation.</param>
 /// <param name="debugPort">A TCP/IP port on which to listen for a debugger connection.</param>
 public V8Runtime(string name, V8RuntimeConstraints constraints, V8RuntimeFlags flags, int debugPort)
 {
     this.name = nameManager.GetUniqueName(name, GetType().GetRootName());
     proxy     = V8IsolateProxy.Create(this.name, constraints, flags.HasFlag(V8RuntimeFlags.EnableDebugging), debugPort);
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new V8 runtime instance with the specified name, resource constraints, options, and debug port.
 /// </summary>
 /// <param name="name">A name to associate with the instance. Currently this name is used only as a label in presentation contexts such as debugger user interfaces.</param>
 /// <param name="constraints">Resource constraints for the instance.</param>
 /// <param name="flags">A value that selects options for the operation.</param>
 /// <param name="debugPort">A TCP/IP port on which to listen for a debugger connection.</param>
 public V8Runtime(string name, V8RuntimeConstraints constraints, V8RuntimeFlags flags, int debugPort)
 {
     this.name = nameManager.GetUniqueName(name, GetType().GetRootName());
     proxy = V8IsolateProxy.Create(this.name, constraints, flags.HasFlag(V8RuntimeFlags.EnableDebugging), debugPort);
 }
コード例 #4
0
 public static V8ContextProxy Create(V8IsolateProxy isolateProxy, string name, V8ScriptEngineFlags flags, int debugPort)
 {
     return(CreateImpl <V8ContextProxy>(isolateProxy, name, flags, debugPort));
 }
コード例 #5
0
 public static V8ContextProxy Create(V8IsolateProxy isolateProxy, string name, bool enableDebugging, bool disableGlobalMembers, int debugPort)
 {
     return CreateImpl<V8ContextProxy>(isolateProxy, name, enableDebugging, disableGlobalMembers, debugPort);
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new V8 runtime instance with the specified name, resource constraints, options, and debug port.
 /// </summary>
 /// <param name="name">A name to associate with the instance. Currently this name is used only as a label in presentation contexts such as debugger user interfaces.</param>
 /// <param name="constraints">Resource constraints for the instance.</param>
 /// <param name="flags">A value that selects options for the operation.</param>
 /// <param name="debugPort">A TCP port on which to listen for a debugger connection.</param>
 public V8Runtime(string name, V8RuntimeConstraints constraints, V8RuntimeFlags flags, int debugPort)
 {
     Name  = nameManager.GetUniqueName(name, GetType().GetRootName());
     proxy = V8IsolateProxy.Create(Name, constraints, flags, debugPort);
 }