Mini SQL Query Extensibility Documentation
RegisterSingletonComponent<(Of <(TService, TImp>)>) Method (key)
NamespacesMiniSqlQuery.CoreApplicationServicesRegisterSingletonComponent<(Of <(TService, TImp>)>)(String)
Registers the component service type TService with and implemetation of type TImp as a singleton.
Declaration Syntax
C#Visual BasicVisual C++
public void RegisterSingletonComponent<TService, TImp>(
	string key
)
Public Sub RegisterSingletonComponent(Of TService, TImp) ( _
	key As String _
)
public:
generic<typename TService, typename TImp>
virtual void RegisterSingletonComponent(
	String^ key
) sealed
Generic Template Parameters
TService
The contract type.
TImp
The implementing type.
Parameters
key (String)
The key or name of the service.

Assembly: MiniSqlQuery.Core (Module: MiniSqlQuery.Core) Version: 1.0.0.0 (1.0.0.0)