/// <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 object GetOAMapValue( object[] objectArray, int propertyIndex, string providedKey) { var value = objectArray[propertyIndex]; return BaseNestableEventUtil.GetMappedPropertyValue(value, providedKey); }
/// <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="providedKey">key</param> /// <returns>value</returns> /// <throws>PropertyAccessException exception</throws> public static object GetMapMappedValue( IDictionary<string, object> map, string fieldName, string providedKey) { var value = map.Get(fieldName); return BaseNestableEventUtil.GetMappedPropertyValue(value, providedKey); }
private Object GetMapInternal(DataMap map, String providedKey) { Object value = map.Get(_fieldName); return(BaseNestableEventUtil.GetMappedPropertyValue(value, providedKey)); }
private Object GetObjectArrayInternal(Object[] objectArray, String providedKey) { Object value = objectArray[_propertyIndex]; return(BaseNestableEventUtil.GetMappedPropertyValue(value, providedKey)); }