예제 #1
0
 /// <summary>
 ///     NOTE: Code-generation-invoked method, method name and parameter order matters
 /// </summary>
 /// <param name="objectArray">data</param>
 /// <param name="propertyIndex">prop index</param>
 /// <param name="providedKey">key</param>
 /// <returns>value</returns>
 /// <throws>PropertyAccessException exception</throws>
 public static bool GetOAMapExists(
     object[] objectArray,
     int propertyIndex,
     string providedKey)
 {
     var value = objectArray[propertyIndex];
     return BaseNestableEventUtil.GetMappedPropertyExists(value, providedKey);
 }
예제 #2
0
 /// <summary>
 ///     NOTE: Code-generation-invoked method, method name and parameter order matters
 /// </summary>
 /// <param name="map">map</param>
 /// <param name="fieldName">field</param>
 /// <param name="key">key</param>
 /// <returns>value</returns>
 /// <throws>PropertyAccessException exception</throws>
 public static bool IsMapExistsProperty(
     IDictionary<string, object> map,
     string fieldName,
     string key)
 {
     var value = map.Get(fieldName);
     return BaseNestableEventUtil.GetMappedPropertyExists(value, key);
 }
예제 #3
0
        public bool IsMapExistsProperty(DataMap asMap)
        {
            var value = asMap.Get(_fieldName);

            return(BaseNestableEventUtil.GetMappedPropertyExists(value, _key));
        }
        public bool IsObjectArrayExistsProperty(Object[] array)
        {
            Object value = array[_propertyIndex];

            return(BaseNestableEventUtil.GetMappedPropertyExists(value, _key));
        }