Source/DependencyInversion/UnknownServiceOnTenantContainerRegistrationSource.cs
Method RegistrationsFor
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public IEnumerable<IComponentRegistration> RegistrationsFor(Service service, Func<Service, IEnumerable<ServiceRegistration>> registrationAccessor)
{
if (service is not IServiceWithType serviceWithType)
{
return Enumerable.Empty<IComponentRegistration>();