It help you in two ways:
1) SimpleModelInspector : IModelInspector
2) SimpleModelInspector : IModelInspector, IModelExplicitDeclarationsHolder
The SimpleModelInspector take care of both: explicit declaration
over conventions; if you inject a different instance
of IModelExplicitDeclarationsHolder you are maintaining the two
aspects completely separated.
btw before use a API you have to study it a little bit.
For others users:
ConventionModelMapper is coming.
Only for curiosity:
public class ConventionModelMapper : ModelMapper
{
public ConventionModelMapper()
: base(new SimpleModelInspector())
{
AppendDefaultEvents();
}
That is the trick.
On Tue, Apr 12, 2011 at 6:52 PM, mynkow <[email protected]> wrote:
> How SimpleModelInspector can help me?
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
--
Fabio Maulo
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.