Rename parameter InterfaceType -> SuperType

Direct ancestor types, which are not neccesarily interfaces, can also be used as registration type
This commit is contained in:
Mike Bierlee 2015-02-21 02:16:24 +01:00
parent 6c8e3c81b3
commit ad5695c774

View file

@ -98,8 +98,8 @@ class DependencyContainer {
* *
* See_Also: singleInstance, newInstance, existingInstance * See_Also: singleInstance, newInstance, existingInstance
*/ */
public Registration register(InterfaceType, ConcreteType : InterfaceType)() { public Registration register(SuperType, ConcreteType : SuperType)() {
TypeInfo registeredType = typeid(InterfaceType); TypeInfo registeredType = typeid(SuperType);
TypeInfo_Class concreteType = typeid(ConcreteType); TypeInfo_Class concreteType = typeid(ConcreteType);
debug(poodinisVerbose) { debug(poodinisVerbose) {