Skip to content

Commit 5ffc1b7

Browse files
Copilotmaliming
andcommitted
fix: remove unused keyedService variable in AutofacRegistration.cs
Agent-Logs-Url: https://github.com/abpframework/abp/sessions/c39209b8-1bd6-4fae-b77b-ca167d8098b9 Co-authored-by: maliming <6908465+maliming@users.noreply.github.com>
1 parent c9841af commit 5ffc1b7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

framework/src/Volo.Abp.Autofac/Autofac/Extensions/DependencyInjection/AutofacRegistration.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ private static void Register(
337337

338338
var serviceProvider = context.Resolve<IServiceProvider>();
339339

340-
var keyedService = (Autofac.Core.KeyedService)requestContext.Service;
341340
var key = requestContext.Parameters.KeyedServiceKey<object>();
342341

343342
return descriptor.KeyedImplementationFactory(serviceProvider, key);

0 commit comments

Comments
 (0)