private object GetObjectArrayInternal( object[] array, int index) { var value = array[propertyIndex]; return BaseNestableEventUtil.GetBNArrayValueAtIndexWithNullCheck(value, index); }
private object GetMapInternal( IDictionary<string, object> map, int index) { var value = map.Get(propertyName); return BaseNestableEventUtil.GetBNArrayValueAtIndexWithNullCheck(value, index); }
public static object GetArrayValue(object[] array, int propertyIndex, int index) { // If the oa does not contain the key, this is allowed and represented as null var value = array [propertyIndex]; return(BaseNestableEventUtil.GetBNArrayValueAtIndexWithNullCheck(value, index)); }
private Object GetMapInternal(IDictionary <string, Object> map, int index) { // If the map does not contain the key, this is allowed and represented as null Object value = map.Get(_propertyMap); return(BaseNestableEventUtil.GetBNArrayValueAtIndexWithNullCheck(value, index)); }
/// <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 object GetMapIndexedValue( IDictionary<string, object> map, string fieldName, int index) { var value = map.Get(fieldName); return BaseNestableEventUtil.GetBNArrayValueAtIndexWithNullCheck(value, index); }
/// <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 object GetObjectArrayIndexValue( object[] array, int propertyIndex, int index) { var value = array[propertyIndex]; return BaseNestableEventUtil.GetBNArrayValueAtIndexWithNullCheck(value, index); }