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);
        }