コード例 #1
0
        protected override bool InnerHasVariable(string variableName)
        {
            bool result;

            try
            {
                result = _jsEngine.HasVariable(variableName);
            }
            catch (OriginalJsRuntimeException e)
            {
                throw ConvertMsieJsRuntimeExceptionToJsRuntimeException(e);
            }

            return(result);
        }
コード例 #2
0
        protected override bool InnerHasVariable(string variableName)
        {
            bool result;

            try
            {
                result = _jsEngine.HasVariable(variableName);
            }
            catch (OriginalException e)
            {
                throw WrapJsException(e);
            }

            return(result);
        }