JsDoubleToNumber() приватный Метод

private JsDoubleToNumber ( double doubleValue, JavaScriptValue &value ) : JavaScriptErrorCode
doubleValue double
value JavaScriptValue
Результат JavaScriptErrorCode
        /// <summary>
        /// Creates a <c>Number</c> value from a <c>double</c> value.
        /// </summary>
        /// <remarks>
        /// Requires an active script context.
        /// </remarks>
        /// <param name="value">The value to be converted.</param>
        /// <returns>The new <c>Number</c> value.</returns>
        public static JavaScriptValue FromDouble(double value)
        {
            JavaScriptValue reference;

            Native.ThrowIfError(Native.JsDoubleToNumber(value, out reference));
            return(reference);
        }