Esempio n. 1
0
 protected object GetImportValue(string 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.GetImportValue(value, propertyType.PropertyEditorAlias));
 }
Esempio n. 2
0
        protected object GetImportValue(string 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 ImportValue [{PropertyEditorAlias}]", propertyType.PropertyEditorAlias);

            var importValue = syncMappers.GetImportValue(value, propertyType.PropertyEditorAlias);

            logger.Verbose(serializerType, "Import Value {PropertyEditorAlias} {importValue}", propertyType.PropertyEditorAlias, importValue);
            return(importValue);
        }