35 packages returned for Tags:"Singleton"

Package type
Sort by
  • 771 total downloads
  • last updated 12/18/2018
  • Latest version: 1.1.0
  • Singleton
A simple Singleton implementation, using a manager to keep track of Singleton objects, and an optional base helper class for easy use.
Provides an easy way to implement the singleton (anti?) pattern so that it is ambient-safe, propagates with a call context and can be overriden per ambient (i.e. in tests).