/// <summary>
 ///     NOTE: Code-generation-invoked method, method name and parameter order matters
 /// </summary>
 /// <param name="array">array</param>
 /// <param name="propertyIndex">prop index</param>
 /// <param name="index">index</param>
 /// <returns>value</returns>
 /// <throws>PropertyAccessException exception</throws>
 public static bool IsObjectArrayExistsProperty(
     object[] array,
     int propertyIndex,
     int index)
 {
     var value = array[propertyIndex];
     return BaseNestableEventUtil.IsExistsIndexedValue(value, index);
 }
Exemplo n.º 2
0
 /// <summary>
 ///     NOTE: Code-generation-invoked method, method name and parameter order matters
 /// </summary>
 /// <param name="map">map</param>
 /// <param name="fieldName">name</param>
 /// <param name="index">index</param>
 /// <returns>value</returns>
 /// <throws>PropertyAccessException exception</throws>
 public static bool GetMapIndexedExists(
     IDictionary<string, object> map,
     string fieldName,
     int index)
 {
     var value = map.Get(fieldName);
     return BaseNestableEventUtil.IsExistsIndexedValue(value, index);
 }
Exemplo n.º 3
0
        public bool IsObjectArrayExistsProperty(Object[] array)
        {
            Object value = array[_propertyIndex];

            return(BaseNestableEventUtil.IsExistsIndexedValue(value, _index));
        }
Exemplo n.º 4
0
        public bool IsMapExistsProperty(DataMap map)
        {
            Object value = map.Get(_fieldName);

            return(BaseNestableEventUtil.IsExistsIndexedValue(value, _index));
        }