Changed PluginResolverType to PluginManager. Reinstated Resolution and ResolverBase<T> since

this gives us more control over all Resolvers and streamlines them. Created IBootManager, CoreBootManager and WebBootManager
to handle the application initialization including the creation of Resolvers. This means that if people are using the dlls outside
of the web app, they can run the boot strappers to initialize everything.
This commit is contained in:
shannon@ShandemVaio
2012-08-01 22:06:15 +06:00
parent dff3905e85
commit 646e96ab15
52 changed files with 808 additions and 243 deletions

View File

@@ -18,10 +18,10 @@ namespace Umbraco.Tests
TestHelper.SetupLog4NetForTests();
//this ensures its reset
PluginTypeResolver.Current = new PluginTypeResolver();
PluginManager.Current = new PluginManager();
//for testing, we'll specify which assemblies are scanned for the PluginTypeResolver
PluginTypeResolver.Current.AssembliesToScan = new[]
PluginManager.Current.AssembliesToScan = new[]
{
this.GetType().Assembly
};