Table of Contents

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

provider IHost

The host provider used to resolve dependencies.

Exceptions

ArgumentNullException

Thrown when the provider is null.