I have a class that I want to map a dynamic object to one of it's properties is an interface that I would like mapped as a concrete class Is there a way to do this?
public MyClass
{
public string email{get;set;}
public ISomeInterface data{get;set;}
}
public MyData : ISomeInterface
{
public string SomeProperty{get;set;}
}