ICliServiceContainer Interface
Namespace: DensoCreate.Cli.Framework
Description
This interface provides service registration and retrieval for the DI container.
Method
Name | Description |
---|---|
Get<TInterface> | Gets an instance of the concrete class of the specified interface. |
RegisterSingleton | Registers an instance of the interface and its concrete class. |
RegisterSingleton<TInterface, TImpl> | Registers a singleton class. |
RegisterSingleton<TInterface> | Registers an instance of an interface and its concrete class. |
RegisterTransient | Registers a new class that is created each time. |
RegisterTransient<TInterface, TImpl> | Registers a new class that is created each time. |