Example #1
0
 protected string GetExportValue(object value, PropertyType propertyType, string culture, string segment)
 {
     // this is where the mapping magic will happen.
     // at the moment there are no value mappers, but if we need
     // them they plug in as ISyncMapper things
     return(syncMappers.GetExportValue(value, propertyType.PropertyEditorAlias));
 }
Example #2
0
        protected string GetExportValue(object value, PropertyType propertyType, string culture, string segment)
        {
            // this is where the mapping magic will happen.
            // at the moment there are no value mappers, but if we need
            // them they plug in as ISyncMapper things
            logger.Verbose(serializerType, "Getting ExportValue [{PropertyEditorAlias}]", propertyType.PropertyEditorAlias);

            var exportValue = syncMappers.GetExportValue(value, propertyType.PropertyEditorAlias);

            logger.Verbose(serializerType, "Export Value {PropertyEditorAlias} {exportValue}", propertyType.PropertyEditorAlias, exportValue);
            return(exportValue);
        }