Skip to content

Can Map to an Interface Property #9

Closed

Description

@pretzelfisch

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;}
}

Activity

  1. randyburden commented on Dec 9, 2013

    @randyburden
    Member

    @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.

  2. mogipatangan commented on Apr 27, 2016

    @mogipatangan

    Any word on when the next version with this fix will be released?

  3. odelvalle commented on Jun 12, 2016

    @odelvalle
    Member

    Pull request #38 TypeActivator included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions