ActivateAnything
An `AnythingActivator` will make an extreme effort to find and instantiate a concrete class which is assignable to a `Type`, whether or not the Type is concrete, whether or not the Type has constructor dependencies, whether or not a suitable concrete subtype is found in any currently loaded `Assembly`. The attempt to find and instantiate suitable Types is rule-driven. There are three kinds of `IActivateAnythingRule`. - `IFindTypeRule` provides rules for where to look for candidate concrete subtypes of an abstract type - `IActivateInstanceRule` simply returns an instance of a concrete type. - `IChooseConstructorRule` rules for how to choose between constructors when a concrete `Type` has been chosen. The <em>extremity</em> of the effort lies in its recursive attempt to find and construct the <em>dependencies</em>.
Activity
- Latest release
- 5y ago
- Total releases
- 6
- Cadence
- ~2 days
- Last 12 months
- 0
Details
- License
- unknown
- First release
- Nov 17, 2018
| Version | Released | |
|---|---|---|
0.3.2
patch
| ||
0.3.1
patch
| ||
0.3.0
minor
| ||
0.2.1
patch
| ||
0.2.0
minor
| ||
0.1.0.1
initial
|