Renaming IContentProvider to IContentHandler

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043471
This commit is contained in:
loudej
2009-12-08 10:34:03 +00:00
parent b612ac53e2
commit e1e4d1bb41
40 changed files with 129 additions and 129 deletions

View File

@@ -29,7 +29,7 @@ namespace Orchard.Tests.Packages.Users.Controllers {
builder.Register<DefaultContentManager>().As<IContentManager>();
builder.Register<DefaultContentQuery>().As<IContentQuery>().FactoryScoped();
builder.Register<MembershipService>().As<IMembershipService>();
builder.Register<UserProvider>().As<IContentProvider>();
builder.Register<UserHandler>().As<IContentHandler>();
builder.Register(new Mock<INotifier>().Object);
}

View File

@@ -58,7 +58,7 @@ namespace Orchard.Tests.Packages.Users.Services {
builder.RegisterModule(new ImplicitCollectionSupportModule());
builder.Register<MembershipService>().As<IMembershipService>();
builder.Register<DefaultContentManager>().As<IContentManager>();
builder.Register<UserProvider>().As<IContentProvider>();
builder.Register<UserHandler>().As<IContentHandler>();
builder.RegisterGeneric(typeof(Repository<>)).As(typeof(IRepository<>));
_session = _sessionFactory.OpenSession();
builder.Register(new TestSessionLocator(_session)).As<ISessionLocator>();