Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
This PR adds extension methods for defining cutom dependencies on specific services.
I came up with this idea because a lot of people didn't like the approach MS have taken with the generic
ILogger<T>and the namedIOptions<TOptions>(If you have multipleIOptions<TOptions>of the same type you have to retrive the correct instance by name inside of the costructor of the service where they are being injected)Common usages:
ILogger<T>: