From 4791bbfb35b67681c5cd0be95df124e691bdc324 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Sun, 14 Jul 2019 12:45:04 +0300 Subject: [PATCH] Delete problematic docs temporarily Thanks for making the doc generator Windows compatible! --- docs/poodinis/autowire/Autowire.html | 135 --------------------------- docs/poodinis/autowire/autowire.html | 120 ------------------------ 2 files changed, 255 deletions(-) delete mode 100644 docs/poodinis/autowire/Autowire.html delete mode 100644 docs/poodinis/autowire/autowire.html diff --git a/docs/poodinis/autowire/Autowire.html b/docs/poodinis/autowire/Autowire.html deleted file mode 100644 index 0341fd0..0000000 --- a/docs/poodinis/autowire/Autowire.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - Struct Autowire - - - - -
- -
-
-

Struct Autowire

UDA for annotating class members as candidates for autowiring. -

-
- -
- struct Autowire(QualifierType) - ; -
-
-
-

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. -

-
- -

Examples

-

Annotate member of class to be autowired: -

-
class Car {
-   @Autowire
-   public Engine engine;
-}
- -

Annotate member of class with qualifier: -

-
class FuelEngine : Engine { ... }
-class ElectricEngine : Engine { ... }
-
-class HybridCar {
-   @Autowire!FuelEngine
-   public Engine fuelEngine;
-
-   @Autowire!ElectricEngine
-   public Engine electricEngine;
-}
-

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" -

-
- -
-
-
-

Mike Bierlee, m.bierlee@lostmoment.com -

- -

2014-2017 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. -

- -
-
-
- - \ No newline at end of file diff --git a/docs/poodinis/autowire/autowire.html b/docs/poodinis/autowire/autowire.html deleted file mode 100644 index 2520cb9..0000000 --- a/docs/poodinis/autowire/autowire.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - Function autowire - - - - -
- -
-
-

Function autowire

Autowires members of a given instance using dependencies registered in the given container. -

-
- -
- void autowire(Type) - ( -
-   shared(DependencyContainer) container, -
-   Type instance -
- ); -
-
-
-

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. -

-
- -

See Also

-

Autowire -

-
- -
- -
- - \ No newline at end of file