protected override void InnerSetVariableValue(string variableName, object value) { object processedValue = MapToMsieType(value); try { _jsEngine.SetVariableValue(variableName, processedValue); } catch (OriginalJsRuntimeException e) { throw ConvertMsieJsRuntimeExceptionToJsRuntimeException(e); } }
protected override void InnerSetVariableValue(string variableName, object value) { object processedValue = MapToScriptType(value); try { _jsEngine.SetVariableValue(variableName, processedValue); } catch (OriginalException e) { throw WrapJsException(e); } }