--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-02-06 01:40:39 -08:00
parent aa74798f22
commit 4833c65844

View File

@@ -60,7 +60,7 @@ namespace Orchard.Environment.ShellBuilders {
builder.Register<SafeModeText>().As<IText>().ContainerScoped();
builder.Register<SafeModeSiteService>().As<ISiteService>().ContainerScoped();
// yes, this is brutal, and if you are reading this, I sincerely appologize.
// yes, this is brutal, and if you are reading this, I sincerely apologize.
var dependencies = Assembly.Load("Orchard.Setup")
.GetExportedTypes()
.Where(type => type.IsClass && !type.IsAbstract && typeof(IDependency).IsAssignableFrom(type));