Constructor DependencyInjectionTypeResolver
- Namespace
- Ploch.CommandLine.Spectre.DependencyInjection
- Assembly
- Ploch.CommandLine.Spectre.dll
DependencyInjectionTypeResolver(IHost)
Provides a type resolver implementation that resolves types using dependency injection through an IHost instance.
public DependencyInjectionTypeResolver(IHost provider)
Parameters
providerIHostThe host provider used to resolve dependencies.
Exceptions
- ArgumentNullException
Thrown when the provider is null.