Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After hook not setting property? #154

Open
zbuttons opened this issue Oct 24, 2019 · 0 comments
Open

After hook not setting property? #154

zbuttons opened this issue Oct 24, 2019 · 0 comments

Comments

@zbuttons
Copy link

zbuttons commented Oct 24, 2019

Hello!
I am using ExpressMapper and I can't get it to work with custom property.
I am doing the following:

ExpressMapper.Mapper.Register(Of Class1, Class2)().After(Function(x, y) y.specialProperty = "test")
ExpressMapper.Mapper.Map(Of List(Of Class1), List(Of Class2))(list)

and in the list(Of Class2) I get back, the items do not have specialProperty set.

What am I doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant