Example #1
0
 public static V8ContextProxy Create(V8IsolateProxy isolateProxy, string name, bool enableDebugging, bool disableGlobalMembers, int debugPort)
 {
     return(CreateImpl <V8ContextProxy>(isolateProxy, name, enableDebugging, disableGlobalMembers, debugPort));
 }
Example #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);
 }
 /// <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);
 }
Example #4
0
 public static V8ContextProxy Create(V8IsolateProxy isolateProxy, string name, V8ScriptEngineFlags flags, int debugPort)
 {
     return(CreateImpl <V8ContextProxy>(isolateProxy, name, flags, debugPort));
 }
 public static V8ContextProxy Create(V8IsolateProxy isolateProxy, string name, bool enableDebugging, bool disableGlobalMembers, int debugPort)
 {
     return CreateImpl<V8ContextProxy>(isolateProxy, name, enableDebugging, disableGlobalMembers, debugPort);
 }
Example #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);
 }