Spring.DesignPatterns Unit
This namespace contains the following classical design patterns:
Factory Pattern
Observer Pattern
Classes
Records
| TSingleton |
Provides a simple implementation of the Singleton Pattern . Use this portal to get the shared instance of a certain class which must have a default constructor.
It also keeps track of the lifetime of the instances and will free them in reversed order. |
Interfaces
| IClassTypeRegistry<TValue> | |
| IObservable<T> |
Represents an observable subject. |
| ITypeRegistry<TClassType,TValue> |