|
Joutsen v0.5.0+18-g5fdf104
|
Extension methods for the service provider that help creating instances when using dependency injection. More...
Static Public Member Functions | |
| static ServiceType | GetServiceWith< ServiceType > (this IServiceProvider provider, params object[] parameters) |
| Fetches a service with additional parameters which are not services. | |
| static object | GetServiceWith (this IServiceProvider provider, Type serviceType, params object[] parameters) |
| Fetches a service with additional parameters which are not services. | |
Extension methods for the service provider that help creating instances when using dependency injection.
|
static |
Fetches a service with additional parameters which are not services.
| provider | the service provider |
| serviceType | the type of the service to retrieve |
| parameters | the additional (non-service) parameters used to create the service |
|
static |
Fetches a service with additional parameters which are not services.
| provider | the service provider |
| parameters | the additional (non-service) parameters used to create the service |
| ServiceType | : | class |