public ICollectionMappingProvider Visit(CollectionAttribute collectionAttribute, PropertyInfo property) { var propertyMapping = CreatePropertyMapping(collectionAttribute, property); var result = new CollectionMappingProvider(propertyMapping, collectionAttribute.StoreAs); if (collectionAttribute.ElementConverterType != null) { result.ElementConverterType = collectionAttribute.ElementConverterType; } return result; }
public ICollectionMappingProvider Visit(CollectionAttribute collectionAttribute, PropertyInfo property) { var propertyMapping = CreatePropertyMapping(collectionAttribute, property, _log); var result = new CollectionMappingProvider(propertyMapping, collectionAttribute.StoreAs); if (collectionAttribute.ElementConverterType != null) { result.ElementConverterType = collectionAttribute.ElementConverterType; } return(result); }