CreateBoolean() private method

private CreateBoolean ( NativeV8EngineProxy engine, bool b ) : HandleProxy*
engine NativeV8EngineProxy
b bool
return HandleProxy*
Exemplo n.º 1
0
        // --------------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// Calls the native V8 proxy library to create the value instance for use within the V8 JavaScript environment.
        /// It's ok to use 'WithHandleScope' with this method.
        /// </summary>
        public InternalHandle CreateValue(bool b)
        {
            return(V8NetProxy.CreateBoolean(_NativeV8EngineProxy, b));
        }