public interface IDashboardGiocatoreFactory
{
IDashboardGiocatore GetOne(int id);
}
public interface IDashboardGiocatore
{
...
}
The api:
public HttpResponseMessage Get()
{
var dg = _giocatoreFactory.GetOne(1); <------ ERROR BINDING HERE
return Request.CreateResponse(HttpStatusCode.OK);
}
Just renaming GetOne in something else (i renamed "CreateFactory") and it works!
Is there such a naming convention on it?
Thanks
Max
--
You received this message because you are subscribed to the Google Groups "ninject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ninject+u...@googlegroups.com.
To post to this group, send email to nin...@googlegroups.com.
Visit this group at https://groups.google.com/group/ninject.
For more options, visit https://groups.google.com/d/optout.
GetXxx
will be interpreted as a request for a Bind
ing Named
'Xxx' rather than a normal resolution."