Mini SQL Query Extensibility Documentation
RegisterSingletonComponent<(Of <(TService, TImp>)>) Method (key)
NamespacesMiniSqlQuery.CoreIApplicationServicesRegisterSingletonComponent<(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++
void RegisterSingletonComponent<TService, TImp>(
	string key
)
Sub RegisterSingletonComponent(Of TService, TImp) ( _
	key As String _
)
generic<typename TService, typename TImp>
void RegisterSingletonComponent(
	String^ key
)
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)