| ServiceLocatorRegisterSingletonTAbstract, TConcrete Method |
Registers a concrete singleton of the type TConcrete for the abstract type
TAbstract.
Namespace:
Archon.SwissArmyLib.Utils
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static TConcrete RegisterSingleton<TAbstract, TConcrete>()
where TConcrete : new(), TAbstract
Request Example
View SourceType Parameters
- TAbstract
- The abstract type that will be mapped to TConcrete.
- TConcrete
- The concrete singleton implementation.
Return Value
Type:
TConcrete[Missing <returns> documentation for "M:Archon.SwissArmyLib.Utils.ServiceLocator.RegisterSingleton``2"]
See Also