Automapper main interface ConstructUsing switch for inherited child objects
I have one main interface that other interfaces inherit from. I would like the main automapper map to switch and return another relevant defined mapping depending on the object type.
Issue with mapping using AutoMapper
I have a problem to map the properties using Automapper.
Mapping is for a destination type MyClass and source type IMyInterface. Here are a models.
Source type where ElectricPotential is struct of UnitsNet and concrete type on return for IProperty is Property which is internal class in another package:
How to get mapping info (eg: srcMemberAdstMemberA) in AutoMapper?
Is there a way to get member mapping info in AutoMapper?