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

Feature: Create base mapper class, for custom mapping extension #2

Closed
dclucas opened this issue Mar 27, 2012 · 1 comment
Closed

Feature: Create base mapper class, for custom mapping extension #2

dclucas opened this issue Mar 27, 2012 · 1 comment
Assignees

Comments

@dclucas
Copy link
Owner

dclucas commented Mar 27, 2012

Keep BaseMapper for coders who are expanding the library, but provide developers a way to inherit mapping functionality and specialize it through code.

As in:

public class CustomerMVMMapper : Mapper<Customer, CustomerMVVM)
{
    public CustomerMVMMapper()
    {
        // this guy should inherit from composite mapper and upon this constructor call already have all the mapper stack ready.
        AddMapping( /* magic mapping here */);
    }
}
@ghost ghost assigned dclucas Mar 27, 2012
@dclucas dclucas closed this as completed Apr 4, 2013
@dclucas
Copy link
Owner Author

dclucas commented Apr 4, 2013

Closing in favor of a better approach.

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