From af5df7a26c428f6500ae270459c394630d5768a7 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Mon, 15 Feb 2016 20:37:54 +0100 Subject: [PATCH] Add caveat --- TUTORIAL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index 254d980..9da8421 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -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;