Simple case: I have an interface for logging messages, like this:
public interface ILogger
{
void Log(string message);
}
And maybe three different classes implement this interface.
Now, I could write in one place, line for DI, something like:
kernel.Bind<ILogger>().To<ConsoleLogger>();
My question is, how use that interface in many classes, but without injecting everyone via constructor. Because we can have so many different interfaces we want use, and declaration on that class constructor can be messy.