RegisterInstance<TImplementation>(TImplementation) Method
Registers the specified instance with the type registrar as a singleton.
void RegisterInstance<TImplementation>(TImplementation instance)
- Namespace
- Spectre
.Console .Cli - Containing Type
- I
Type Registrar Frontend
Parameters
-
TImplementation
- The type of the instance.
Parameters
- TImplementation instance
- The instance to register.