You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;}
}
@pretzelfisch No, the library does not currently support this although it soon will as issues #7 and #8 both address similar requests. I would anticipate having support for mapping to concrete implementations of interfaces and abstract classes within a week's time. I have the code already written but I'd like to add some additional refactorings and unit test coverage before the next version release.
Activity
randyburden commentedon Dec 9, 2013
@pretzelfisch No, the library does not currently support this although it soon will as issues #7 and #8 both address similar requests. I would anticipate having support for mapping to concrete implementations of interfaces and abstract classes within a week's time. I have the code already written but I'd like to add some additional refactorings and unit test coverage before the next version release.
mogipatangan commentedon Apr 27, 2016
Any word on when the next version with this fix will be released?
odelvalle commentedon Jun 12, 2016
Pull request #38 TypeActivator included