13 packages returned for Tags:"strategy"
PocketContainer Primitive Avoidance Strategy
- 3,152 total downloads
- last updated 10/8/2016
- Latest version: 1.0.4
A convention that tells PocketContainer to choose the longest constructor that contains no primitive types (including strings, dates, and numeric types) when resolving instances of an unregistered type.
- 1,392 total downloads
- last updated 1/21/2018
- Latest version: 2.0.0
Exceptions are irrelevant, untill they occur. Then, they are absolutely central. A mundane task of adding the same behaviour of displaying the error message to the screen or logging it to file or event log is wasteful and can lead to errors. The package reduces the amount of bloat to zero using... More information
PocketContainer Single Implementation Strategy
- 773 total downloads
- last updated 8/16/2017
- Latest version: 2.0.1
A convention that will resolve a type when it is the only implementation for a requested interface or abstract type that has not been explicitly registered.