Register<TService, TImplementation>() Method
Registers the type with the type registrar as a singleton.
void Register<TService, TImplementation>() where TImplementation : TService
- Namespace
- Spectre
.Console .Cli - Containing Type
- I
Type Registrar Frontend
Parameters
-
TService
- The exposed service type.
-
TImplementation
- The implementing type.