mirror of
https://github.com/mbierlee/poodinis.git
synced 2025-01-18 21:40:38 +01:00
Rename parameter InterfaceType -> SuperType
Direct ancestor types, which are not neccesarily interfaces, can also be used as registration type
This commit is contained in:
parent
6c8e3c81b3
commit
ad5695c774
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ class DependencyContainer {
|
|||
*
|
||||
* See_Also: singleInstance, newInstance, existingInstance
|
||||
*/
|
||||
public Registration register(InterfaceType, ConcreteType : InterfaceType)() {
|
||||
TypeInfo registeredType = typeid(InterfaceType);
|
||||
public Registration register(SuperType, ConcreteType : SuperType)() {
|
||||
TypeInfo registeredType = typeid(SuperType);
|
||||
TypeInfo_Class concreteType = typeid(ConcreteType);
|
||||
|
||||
debug(poodinisVerbose) {
|
||||
|
|
Loading…
Reference in a new issue