14 packages returned for Tags:"Strategy"
PocketContainer Primitive Avoidance Strategy
- 3,394 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,733 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
- 989 total downloads
- last updated 3/25/2019
- Latest version: 2.0.3
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.