ITypeRegistrarFrontend Interface
Represents a user friendly frontend for a
ITypeRegistrar
.
public interface ITypeRegistrarFrontend
- Namespace
- Spectre
.Console .Cli
Methods
-
abstract void Register
<TService, TImplementation> () - Registers the type with the type registrar as a singleton.
-
abstract void RegisterInstance
< T Implementation> (TImplementation) - Registers the specified instance with the type registrar as a singleton.
-
abstract void RegisterInstance
<TService, TImplementation> (TImplementation) - Registers the specified instance with the type registrar as a singleton.