| ServiceLocatorRegisterTransientTAbstract, TConcrete Method |
Registers a concrete transient type to return new instances of when the abstract type
TAbstract is resolved.
Namespace:
Archon.SwissArmyLib.Utils
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void RegisterTransient<TAbstract, TConcrete>()
where TConcrete : new(), TAbstract
Request Example
View SourceType Parameters
- TAbstract
- The abstract type that will be mapped to TConcrete.
- TConcrete
- The concrete transient type to return when TAbstract is resolved.
See Also