mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
Typo
--HG-- branch : dev
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Orchard.Environment.ShellBuilders {
|
|||||||
builder.Register<SafeModeText>().As<IText>().ContainerScoped();
|
builder.Register<SafeModeText>().As<IText>().ContainerScoped();
|
||||||
builder.Register<SafeModeSiteService>().As<ISiteService>().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")
|
var dependencies = Assembly.Load("Orchard.Setup")
|
||||||
.GetExportedTypes()
|
.GetExportedTypes()
|
||||||
.Where(type => type.IsClass && !type.IsAbstract && typeof(IDependency).IsAssignableFrom(type));
|
.Where(type => type.IsClass && !type.IsAbstract && typeof(IDependency).IsAssignableFrom(type));
|
||||||
|
Reference in New Issue
Block a user