dolittle/DotNET.SDK

View on GitHub
Source/DependencyInversion/UnknownServiceOnTenantContainerRegistrationSource.cs

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method RegistrationsFor has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public IEnumerable<IComponentRegistration> RegistrationsFor(Service service, Func<Service, IEnumerable<ServiceRegistration>> registrationAccessor)
    {
        if (service is not IServiceWithType serviceWithType)
        {
            return Enumerable.Empty<IComponentRegistration>();

    There are no issues that match your filters.

    Category
    Status