Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit e3a6552

Browse files
committed
GetObjectNamesForType now return IReadOnlyList<string>
1 parent 83d6ef6 commit e3a6552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spring.Extensions.DependencyInjection/Internal/SpringServiceProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private object LookupService(IApplicationContext context, Type serviceType)
127127
return service;
128128
}
129129

130-
private static IEnumerable<string> GetPerfectTypeMatchedObjectNames(IApplicationContext context, Type serviceType, IList<string> objectNames = null)
130+
private static IEnumerable<string> GetPerfectTypeMatchedObjectNames(IApplicationContext context, Type serviceType, IReadOnlyList<string> objectNames = null)
131131
{
132132
objectNames ??= context.GetObjectNamesForType(serviceType);
133133
var factory = ((IConfigurableApplicationContext)context).ObjectFactory;

0 commit comments

Comments
 (0)