Method Register
- Namespace
- Ploch.CommandLine.Spectre.DependencyInjection
- Assembly
- Ploch.CommandLine.Spectre.dll
Register(Type, Type)
Registers a service type with its corresponding implementation type as a transient service, so every resolution creates a new instance.
public void Register(Type service, Type implementation)