Exemple #1
0
        private static Expression GetDictionaryEntryValue(DictionaryEntryVariablePair dictionaryVariables)
        {
            if (dictionaryVariables.UseDirectValueAccess)
            {
                return(dictionaryVariables.GetEntryValueAccess());
            }

            var valueConversion = dictionaryVariables.MapperData.GetValueConversionOrCreation(
                dictionaryVariables.Value,
                dictionaryVariables.MapperData.TargetMember.Type);

            return(valueConversion);
        }