Esempio n. 1
0
        public Object GetMap(DataMap asMap)
        {
            // If the map does not contain the key, this is allowed and represented as null
            var mapValue = asMap.Get(_propertyName);

            return(BaseNestableEventUtil.GetArrayPropertyAsUnderlyingsArray(
                       _underlyingType, (EventBean[])mapValue));
        }
        public Object GetObjectArray(Object[] arrayEvent)
        {
            Object innerValue = arrayEvent[_propertyIndex];

            return(BaseNestableEventUtil.GetArrayPropertyAsUnderlyingsArray(_underlyingType, (EventBean[])innerValue));
        }
        public Object GetObjectArray(Object[] oa)
        {
            Object inner = oa[_propertyIndex];

            return(BaseNestableEventUtil.GetArrayPropertyAsUnderlyingsArray(_underlyingType, (EventBean[])inner));
        }
Esempio n. 4
0
 public object GetObjectArray(object[] oa)
 {
     var inner = oa[propertyIndex];
     return BaseNestableEventUtil.GetArrayPropertyAsUnderlyingsArray(underlyingType, (EventBean[]) inner);
 }
Esempio n. 5
0
 public object GetMap(IDictionary<string, object> map)
 {
     var mapValue = map.Get(_propertyName);
     return BaseNestableEventUtil.GetArrayPropertyAsUnderlyingsArray(_underlyingType, (EventBean[]) mapValue);
 }