Skip to main content

ICliServiceContainer Interface

Namespace: DensoCreate.Cli.Framework

Description

This interface provides service registration and retrieval for the DI container.

Method

NameDescription
Get<TInterface>Gets an instance of the concrete class of the specified interface.
RegisterSingletonRegisters 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.
RegisterTransientRegisters a new class that is created each time.
RegisterTransient<TInterface, TImpl>Registers a new class that is created each time.