示例#1
0
        private bool IsExistsProperty(object[] array)
        {
            var value = array[_propertyIndex];

            if (value == null) return false;

            // object within the map
            if (value is EventBean) return _entryGetter.IsExistsProperty((EventBean) value);
            return _entryGetter.IsBeanExistsProperty(value);
        }
        public override bool IsExistsProperty(EventBean eventBean)
        {
            var array = BaseNestableEventUtil.CheckedCastUnderlyingObjectArray(eventBean);
            var value = array[_propertyIndex];

            if (value == null)
            {
                return(false);
            }

            // Object within the map
            if (value is EventBean)
            {
                return(_entryGetter.IsExistsProperty((EventBean)value));
            }
            return(_entryGetter.IsBeanExistsProperty(value));
        }