Пример #1
0
        public static bool hasOwnProperty(object thisObj, object name)
        {
            ScriptObject obj = thisObj as ScriptObject;

            if (obj == null)
            {
                return(false);
            }
            string key = Convert.ToString(name);

            return(LateBinding.DirectHasObjectProperty(obj, key));
        }