I'd like to identify some types using a service name.
I need exactly what is showen in this example
builder.RegisterAssemblyTypes(controllers)
.Where(t => t.IsAssignableTo(typeof(IController))
.Named(t => "controller-" + t.Name.ToLower());
But the method named
has no overload which takes one argument of type string(only the generic one does).
The method takes a second argument of type type.