Struct Autowire
UDA for annotating class members as candidates for autowiring. +
Function autowire
Autowires members of a given instance using dependencies registered in the given container.
- struct Autowire(QualifierType)
- ;
+ void autowire(Type)
+ (
+
+ shared(DependencyContainer) container,
+
+ Type instance
+
+ );
Optionally a template parameter can be supplied to specify the type of a qualified class. The qualified type
- of a concrete class is used to autowire members declared by supertype. If no qualifier is supplied, the type
- of the member is used as qualifier.
+ All members of the given instance, which are annotated using the "Autowire" UDA, are autowired.
+ Members can have any visibility (public, private, etc). All members are resolved using the given
+ container. Qualifiers are used to determine the type of class to resolve for any member of instance.
Annotate member of class to be autowired:
- Annotate member of class with qualifier:
- The members of an instance of "HybridCar" will now be autowired properly, because the autowire mechanism will
- autowire member "fuelEngine" as if it's of type "FuelEngine". This means that the members of instance "fuelEngine"
- will also be autowired because the autowire mechanism knows that member "fuelEngine" is an instance of "FuelEngine"
+ Autowire
Mike Bierlee, m.bierlee@lostmoment.com
2014-2017 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/autowire/OptionalDependency.html b/docs/poodinis/autowire/OptionalDependency.html
index 27d5834..e640dac 100644
--- a/docs/poodinis/autowire/OptionalDependency.html
+++ b/docs/poodinis/autowire/OptionalDependency.html
@@ -93,7 +93,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/autowire/autowire.html b/docs/poodinis/autowire/autowire.html
index 2520cb9..51ff0bf 100644
--- a/docs/poodinis/autowire/autowire.html
+++ b/docs/poodinis/autowire/autowire.html
@@ -106,7 +106,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/autowire/globalAutowire.html b/docs/poodinis/autowire/globalAutowire.html
index 87d832a..9f87ff0 100644
--- a/docs/poodinis/autowire/globalAutowire.html
+++ b/docs/poodinis/autowire/globalAutowire.html
@@ -104,7 +104,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container.html b/docs/poodinis/container.html
index b6d7b98..45ccc77 100644
--- a/docs/poodinis/container.html
+++ b/docs/poodinis/container.html
@@ -177,7 +177,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.clearAllRegistrations.html b/docs/poodinis/container/DependencyContainer.clearAllRegistrations.html
index 4b8d9c6..a38e82e 100644
--- a/docs/poodinis/container/DependencyContainer.clearAllRegistrations.html
+++ b/docs/poodinis/container/DependencyContainer.clearAllRegistrations.html
@@ -91,7 +91,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.html b/docs/poodinis/container/DependencyContainer.html
index 53be72c..2d57f2c 100644
--- a/docs/poodinis/container/DependencyContainer.html
+++ b/docs/poodinis/container/DependencyContainer.html
@@ -207,7 +207,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.register.html b/docs/poodinis/container/DependencyContainer.register.html
index 939a607..1c922b3 100644
--- a/docs/poodinis/container/DependencyContainer.register.html
+++ b/docs/poodinis/container/DependencyContainer.register.html
@@ -162,7 +162,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.removeRegistration.html b/docs/poodinis/container/DependencyContainer.removeRegistration.html
index dc92b7c..f14e719 100644
--- a/docs/poodinis/container/DependencyContainer.removeRegistration.html
+++ b/docs/poodinis/container/DependencyContainer.removeRegistration.html
@@ -97,7 +97,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.resolve.html b/docs/poodinis/container/DependencyContainer.resolve.html
index 741b42a..3b3aa81 100644
--- a/docs/poodinis/container/DependencyContainer.resolve.html
+++ b/docs/poodinis/container/DependencyContainer.resolve.html
@@ -189,7 +189,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.resolveAll.html b/docs/poodinis/container/DependencyContainer.resolveAll.html
index 35e7a35..568aa0b 100644
--- a/docs/poodinis/container/DependencyContainer.resolveAll.html
+++ b/docs/poodinis/container/DependencyContainer.resolveAll.html
@@ -109,7 +109,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html b/docs/poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html
index e206ab7..8f894af 100644
--- a/docs/poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html
+++ b/docs/poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html
@@ -95,7 +95,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.setPersistentResolveOptions.html b/docs/poodinis/container/DependencyContainer.setPersistentResolveOptions.html
index 5c8b0a7..32ce66c 100644
--- a/docs/poodinis/container/DependencyContainer.setPersistentResolveOptions.html
+++ b/docs/poodinis/container/DependencyContainer.setPersistentResolveOptions.html
@@ -95,7 +95,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html b/docs/poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html
index 3a9c974..368f38f 100644
--- a/docs/poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html
+++ b/docs/poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html
@@ -91,7 +91,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html b/docs/poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html
index 4232560..e62c9ad 100644
--- a/docs/poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html
+++ b/docs/poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html
@@ -91,7 +91,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/PostConstruct.html b/docs/poodinis/container/PostConstruct.html
index f7aa560..347e150 100644
--- a/docs/poodinis/container/PostConstruct.html
+++ b/docs/poodinis/container/PostConstruct.html
@@ -96,7 +96,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/PreDestroy.html b/docs/poodinis/container/PreDestroy.html
index 5ca43c2..8ca3818 100644
--- a/docs/poodinis/container/PreDestroy.html
+++ b/docs/poodinis/container/PreDestroy.html
@@ -96,7 +96,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/RegistrationException.html b/docs/poodinis/container/RegistrationException.html
index bce7d12..68eb5c6 100644
--- a/docs/poodinis/container/RegistrationException.html
+++ b/docs/poodinis/container/RegistrationException.html
@@ -92,7 +92,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/RegistrationOption.html b/docs/poodinis/container/RegistrationOption.html
index 3bcf46e..df0f4f9 100644
--- a/docs/poodinis/container/RegistrationOption.html
+++ b/docs/poodinis/container/RegistrationOption.html
@@ -107,7 +107,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/ResolveException.html b/docs/poodinis/container/ResolveException.html
index 522e4bb..197f23f 100644
--- a/docs/poodinis/container/ResolveException.html
+++ b/docs/poodinis/container/ResolveException.html
@@ -92,7 +92,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/container/ResolveOption.html b/docs/poodinis/container/ResolveOption.html
index aef18b9..fc8289e 100644
--- a/docs/poodinis/container/ResolveOption.html
+++ b/docs/poodinis/container/ResolveOption.html
@@ -116,7 +116,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/context.html b/docs/poodinis/context.html
index 854953f..4196613 100644
--- a/docs/poodinis/context.html
+++ b/docs/poodinis/context.html
@@ -142,7 +142,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/context/Component.html b/docs/poodinis/context/Component.html
index 4e02eb4..54f9419 100644
--- a/docs/poodinis/context/Component.html
+++ b/docs/poodinis/context/Component.html
@@ -92,7 +92,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/context/Prototype.html b/docs/poodinis/context/Prototype.html
index 269ab9a..261ad17 100644
--- a/docs/poodinis/context/Prototype.html
+++ b/docs/poodinis/context/Prototype.html
@@ -92,7 +92,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/context/RegisterByType.html b/docs/poodinis/context/RegisterByType.html
index 16a3078..c5bb47a 100644
--- a/docs/poodinis/context/RegisterByType.html
+++ b/docs/poodinis/context/RegisterByType.html
@@ -92,7 +92,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/context/registerContext.html b/docs/poodinis/context/registerContext.html
index 27c14fa..9e8673a 100644
--- a/docs/poodinis/context/registerContext.html
+++ b/docs/poodinis/context/registerContext.html
@@ -100,7 +100,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/factory.html b/docs/poodinis/factory.html
index 9833dea..1b53c22 100644
--- a/docs/poodinis/factory.html
+++ b/docs/poodinis/factory.html
@@ -83,7 +83,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/polyfill.html b/docs/poodinis/polyfill.html
index 1a41795..46c4091 100644
--- a/docs/poodinis/polyfill.html
+++ b/docs/poodinis/polyfill.html
@@ -102,7 +102,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee (m.bierlee@lostmoment.com)
Copyright Digital Mars 2005 - 2009., Copyright Andrei Alexandrescu 2008-, Jonathan M Davis 2011-., 2014-2018 Mike Bierlee
+ Copyright Digital Mars 2005 - 2009., Copyright Andrei Alexandrescu 2008-, Jonathan M Davis 2011-., 2014-2019 Mike Bierlee
boost.org/LICENSE_1_0.txt, Boost License 1.0
diff --git a/docs/poodinis/registration.html b/docs/poodinis/registration.html
index 24bab4b..73e3245 100644
--- a/docs/poodinis/registration.html
+++ b/docs/poodinis/registration.html
@@ -121,7 +121,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/registration/existingInstance.html b/docs/poodinis/registration/existingInstance.html
index ef17730..3c64e7b 100644
--- a/docs/poodinis/registration/existingInstance.html
+++ b/docs/poodinis/registration/existingInstance.html
@@ -97,7 +97,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/registration/newInstance.html b/docs/poodinis/registration/newInstance.html
index 90930bf..337fe49 100644
--- a/docs/poodinis/registration/newInstance.html
+++ b/docs/poodinis/registration/newInstance.html
@@ -95,7 +95,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/registration/singleInstance.html b/docs/poodinis/registration/singleInstance.html
index 7b5b170..452f054 100644
--- a/docs/poodinis/registration/singleInstance.html
+++ b/docs/poodinis/registration/singleInstance.html
@@ -98,7 +98,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection.html b/docs/poodinis/valueinjection.html
index a3de325..3a3c602 100644
--- a/docs/poodinis/valueinjection.html
+++ b/docs/poodinis/valueinjection.html
@@ -156,7 +156,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/MandatoryValue.html b/docs/poodinis/valueinjection/MandatoryValue.html
index d6868be..9553767 100644
--- a/docs/poodinis/valueinjection/MandatoryValue.html
+++ b/docs/poodinis/valueinjection/MandatoryValue.html
@@ -120,7 +120,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/MandatoryValue.key.html b/docs/poodinis/valueinjection/MandatoryValue.key.html
index 9fb7c97..3ae8bc5 100644
--- a/docs/poodinis/valueinjection/MandatoryValue.key.html
+++ b/docs/poodinis/valueinjection/MandatoryValue.key.html
@@ -106,7 +106,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/Value.html b/docs/poodinis/valueinjection/Value.html
index dbed213..0ae5db8 100644
--- a/docs/poodinis/valueinjection/Value.html
+++ b/docs/poodinis/valueinjection/Value.html
@@ -120,7 +120,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/Value.key.html b/docs/poodinis/valueinjection/Value.key.html
index fc64aeb..0d785d4 100644
--- a/docs/poodinis/valueinjection/Value.key.html
+++ b/docs/poodinis/valueinjection/Value.key.html
@@ -106,7 +106,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/ValueInjectionException.html b/docs/poodinis/valueinjection/ValueInjectionException.html
index ebe714e..fbf719b 100644
--- a/docs/poodinis/valueinjection/ValueInjectionException.html
+++ b/docs/poodinis/valueinjection/ValueInjectionException.html
@@ -92,7 +92,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/ValueInjector.get.html b/docs/poodinis/valueinjection/ValueInjector.get.html
index fc424e1..de30ef9 100644
--- a/docs/poodinis/valueinjection/ValueInjector.get.html
+++ b/docs/poodinis/valueinjection/ValueInjector.get.html
@@ -103,7 +103,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/ValueInjector.html b/docs/poodinis/valueinjection/ValueInjector.html
index 6aff98e..b310cb1 100644
--- a/docs/poodinis/valueinjection/ValueInjector.html
+++ b/docs/poodinis/valueinjection/ValueInjector.html
@@ -128,7 +128,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/docs/poodinis/valueinjection/ValueNotAvailableException.html b/docs/poodinis/valueinjection/ValueNotAvailableException.html
index 07c4163..01d09c9 100644
--- a/docs/poodinis/valueinjection/ValueNotAvailableException.html
+++ b/docs/poodinis/valueinjection/ValueNotAvailableException.html
@@ -92,7 +92,7 @@ document.getElementById('symbolSearchPane').style.display = 'block';
Mike Bierlee, m.bierlee@lostmoment.com
2014-2018 Mike Bierlee
+ 2014-2019 Mike Bierlee
This software is licensed under the terms of the MIT license.
diff --git a/dub.json b/dub.json
index f5f19ab..096240f 100644
--- a/dub.json
+++ b/dub.json
@@ -3,7 +3,7 @@
"description" : "A dependency injection framework with support for autowiring.",
"homepage": "http://lostmoment.com/open-source/poodinis",
"authors": ["Mike Bierlee"],
- "copyright": "Copyright 2014-2018 Mike Bierlee",
+ "copyright": "Copyright 2014-2019 Mike Bierlee",
"license": "MIT",
"-ddoxTool": "scod",
"configurations": [
diff --git a/example/annotations/app.d b/example/annotations/app.d
index fcc6dd2..8be926e 100644
--- a/example/annotations/app.d
+++ b/example/annotations/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/applicationcontext/app.d b/example/applicationcontext/app.d
index bf64ea2..424c946 100644
--- a/example/applicationcontext/app.d
+++ b/example/applicationcontext/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/arraycompletion/app.d b/example/arraycompletion/app.d
index 59b6c8d..453d713 100644
--- a/example/arraycompletion/app.d
+++ b/example/arraycompletion/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/constructorinjection/app.d b/example/constructorinjection/app.d
index 87a59af..f270262 100644
--- a/example/constructorinjection/app.d
+++ b/example/constructorinjection/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/postconstructorpredestructor/app.d b/example/postconstructorpredestructor/app.d
index 5c8147e..f72f3dc 100644
--- a/example/postconstructorpredestructor/app.d
+++ b/example/postconstructorpredestructor/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/qualifiers/app.d b/example/qualifiers/app.d
index fa056c3..af4a53c 100644
--- a/example/qualifiers/app.d
+++ b/example/qualifiers/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/quickstart/app.d b/example/quickstart/app.d
index 4763fac..3438364 100644
--- a/example/quickstart/app.d
+++ b/example/quickstart/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/registeronresolve/app.d b/example/registeronresolve/app.d
index 46728b4..1a82c65 100644
--- a/example/registeronresolve/app.d
+++ b/example/registeronresolve/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/example/valueinjection/app.d b/example/valueinjection/app.d
index ce8b90a..e1a03e9 100644
--- a/example/valueinjection/app.d
+++ b/example/valueinjection/app.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/source/poodinis/autowire.d b/source/poodinis/autowire.d
index d10c040..fb5ae01 100644
--- a/source/poodinis/autowire.d
+++ b/source/poodinis/autowire.d
@@ -9,7 +9,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/source/poodinis/container.d b/source/poodinis/container.d
index 37881f7..7a2e42f 100644
--- a/source/poodinis/container.d
+++ b/source/poodinis/container.d
@@ -5,7 +5,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/source/poodinis/context.d b/source/poodinis/context.d
index 199a506..ed0bbbb 100644
--- a/source/poodinis/context.d
+++ b/source/poodinis/context.d
@@ -5,7 +5,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/source/poodinis/factory.d b/source/poodinis/factory.d
index 521aa1d..aae3f52 100644
--- a/source/poodinis/factory.d
+++ b/source/poodinis/factory.d
@@ -3,7 +3,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/source/poodinis/imports.d b/source/poodinis/imports.d
index 7ad5691..c66d21f 100644
--- a/source/poodinis/imports.d
+++ b/source/poodinis/imports.d
@@ -3,7 +3,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/source/poodinis/package.d b/source/poodinis/package.d
index ab9a39e..5a3882f 100644
--- a/source/poodinis/package.d
+++ b/source/poodinis/package.d
@@ -3,7 +3,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/source/poodinis/polyfill.d b/source/poodinis/polyfill.d
index 4140031..0d6dc99 100644
--- a/source/poodinis/polyfill.d
+++ b/source/poodinis/polyfill.d
@@ -19,7 +19,7 @@
* Kenji Hara,
* Shoichi Kato,
* Mike Bierlee (m.bierlee@lostmoment.com)
- * Copyright: Copyright Digital Mars 2005 - 2009., Copyright Andrei Alexandrescu 2008-, Jonathan M Davis 2011-., 2014-2018 Mike Bierlee
+ * Copyright: Copyright Digital Mars 2005 - 2009., Copyright Andrei Alexandrescu 2008-, Jonathan M Davis 2011-., 2014-2019 Mike Bierlee
* License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0)
*/
diff --git a/source/poodinis/registration.d b/source/poodinis/registration.d
index c841c2b..cfaca3b 100644
--- a/source/poodinis/registration.d
+++ b/source/poodinis/registration.d
@@ -5,7 +5,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/source/poodinis/valueinjection.d b/source/poodinis/valueinjection.d
index 983ac6b..96b6f51 100644
--- a/source/poodinis/valueinjection.d
+++ b/source/poodinis/valueinjection.d
@@ -4,7 +4,7 @@
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
- * Copyright: 2014-2018 Mike Bierlee
+ * Copyright: 2014-2019 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
diff --git a/test/poodinis/autowiretest.d b/test/poodinis/autowiretest.d
index c56f246..2f8e76a 100644
--- a/test/poodinis/autowiretest.d
+++ b/test/poodinis/autowiretest.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/containertest.d b/test/poodinis/containertest.d
index acb9cec..35b061c 100644
--- a/test/poodinis/containertest.d
+++ b/test/poodinis/containertest.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/contexttest.d b/test/poodinis/contexttest.d
index 9bb41af..23e3048 100644
--- a/test/poodinis/contexttest.d
+++ b/test/poodinis/contexttest.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/factorytest.d b/test/poodinis/factorytest.d
index 3be6128..585de67 100644
--- a/test/poodinis/factorytest.d
+++ b/test/poodinis/factorytest.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/foreigndependencies.d b/test/poodinis/foreigndependencies.d
index 354bb03..4b6966a 100644
--- a/test/poodinis/foreigndependencies.d
+++ b/test/poodinis/foreigndependencies.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/registrationtest.d b/test/poodinis/registrationtest.d
index 3280a61..32e496f 100644
--- a/test/poodinis/registrationtest.d
+++ b/test/poodinis/registrationtest.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/testclasses.d b/test/poodinis/testclasses.d
index 4f37c3f..976e149 100644
--- a/test/poodinis/testclasses.d
+++ b/test/poodinis/testclasses.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/testmain.d b/test/poodinis/testmain.d
index 8301472..7cabb33 100644
--- a/test/poodinis/testmain.d
+++ b/test/poodinis/testmain.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
diff --git a/test/poodinis/valueinjectiontest.d b/test/poodinis/valueinjectiontest.d
index 7f93409..7d156b4 100644
--- a/test/poodinis/valueinjectiontest.d
+++ b/test/poodinis/valueinjectiontest.d
@@ -1,6 +1,6 @@
/**
* Poodinis Dependency Injection Framework
- * Copyright 2014-2018 Mike Bierlee
+ * Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
Examples
-
-
-class Car {
- @Autowire
- public Engine engine;
-}
-class FuelEngine : Engine { ... }
-class ElectricEngine : Engine { ... }
-
-class HybridCar {
- @Autowire!FuelEngine
- public Engine fuelEngine;
-
- @Autowire!ElectricEngine
- public Engine electricEngine;
-}
See Also
+