MsieJavaScriptEngine.JsRt.Ie.IeJsRuntime.Create C# (CSharp) Method

Create() public static method

Creates a new runtime
public static Create ( ) : IeJsRuntime
return IeJsRuntime
        public static IeJsRuntime Create()
        {
            return Create(JsRuntimeAttributes.None, JsRuntimeVersion.Version11, null);
        }

Same methods

IeJsRuntime::Create ( JsRuntimeAttributes attributes, JsRuntimeVersion version ) : IeJsRuntime
IeJsRuntime::Create ( JsRuntimeAttributes attributes, JsRuntimeVersion version, JsThreadServiceCallback threadServiceCallback ) : IeJsRuntime

Usage Example

Example #1
0
 /// <summary>
 /// Creates a instance of JavaScript runtime with special settings
 /// </summary>
 /// <returns>Instance of JavaScript runtime with special settings</returns>
 private static IeJsRuntime CreateJsRuntime()
 {
     return(IeJsRuntime.Create(JsRuntimeAttributes.None, JsRuntimeVersion.VersionEdge, null));
 }