/// <summary>
        /// Initializes a new instance of the <see cref="JsViewEngine" /> class.
        /// </summary>
        /// <param name="jsEngineInvoker">The js engine invoker.</param>
        /// <param name="options">The options.</param>
        public JsViewEngine(IJsEngineInvoker jsEngineInvoker, IOptions <JsViewEngineOptions> options)
        {
            if (jsEngineInvoker == null)
            {
                jsEngineInvoker = new JsEngineInvoker();
            }

            _jsEngineInvoker = jsEngineInvoker;
            _options         = options.Value;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="JsView"/> class.
 /// </summary>
 /// <param name="jsEngineInvoker">The js engine invoker.</param>
 public JsView(IJsEngineInvoker jsEngineInvoker)
 {
     _jsEngineInvoker = jsEngineInvoker;
 }