private static coreDto.DynamicPropertyObjectValue ToPropertyValueDto(this DynamicPropertyDictionaryItem dictItem)
        {
            var result = new coreDto.DynamicPropertyObjectValue {
                Value = dictItem
            };

            return(result);
        }
        private static coreDto.DynamicPropertyObjectValue ToPropertyValueDto(this LocalizedString dynamicPropertyObjectValue)
        {
            var result = new coreDto.DynamicPropertyObjectValue
            {
                Value  = dynamicPropertyObjectValue.Value,
                Locale = dynamicPropertyObjectValue.Language.CultureName
            };

            return(result);
        }
 private static LocalizedString ToLocalizedString(this coreDto.DynamicPropertyObjectValue dto)
 {
     return(new LocalizedString(new Language(dto.Locale), dto.Value.ToString()));
 }
 private static LocalizedString ToLocalizedString(this coreDto.DynamicPropertyObjectValue dto)
 {
     return(new LocalizedString(new Language(dto.Locale), string.Format(CultureInfo.InvariantCulture, "{0}", dto.Value)));
 }