mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Update WorkContextModule.cs
This commit is contained in:
@@ -19,10 +19,6 @@ namespace Orchard.Environment {
|
||||
.As<WorkContext>()
|
||||
.InstancePerMatchingLifetimeScope("work");
|
||||
|
||||
builder.RegisterType<WorkContextProperty<HttpContextBase>>()
|
||||
.As<WorkContextProperty<HttpContextBase>>()
|
||||
.InstancePerMatchingLifetimeScope("work");
|
||||
|
||||
builder.RegisterGeneric(typeof(WorkValues<>))
|
||||
.InstancePerMatchingLifetimeScope("work");
|
||||
|
||||
|
Reference in New Issue
Block a user