Relative Content

Tag Archive for c#.netautomapper

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: