Reputation: 159
I implemented a class myDependencyResolver : IDependencyResolver{}
.
When I am using System.Web.Http.Dependencies
, it gives an error saying I didn't implement BeginScope()
and Dispose()
.
But when I am using using System.Web.Mvc
, it has no problem.
Are they two different interfaces? I am confused.
Upvotes: 1
Views: 455
Reputation: 13960
If you place the mouse over the type you'll see the full namespace ;-)
And yes, they are diferent types. Same name, diferent namespace:
http://msdn.microsoft.com/en-us/library/system.web.mvc.idependencyresolver(v=vs.108).aspx
Upvotes: 1