Add caveat

This commit is contained in:
Mike Bierlee 2016-02-15 20:37:54 +01:00
parent 2cc8f3d68a
commit af5df7a26c

View file

@ -32,7 +32,7 @@ To manually resolve a dependency, all you have to do is resolve the dependency's
```d
auto exampleClassInstance = dependencies.resolve!ExampleClass;
```
If the class is registered by interface and not by concrete type, you can still resolve the class by concrete type:
If the class is registered by interface and not by concrete type, you can still resolve the class by concrete type (unless doNotAddConcreteTypeRegistration is applied):
```d
auto exampleClassInstance = dependencies.resolve!ExampleInterface;