I created a loader that creates a singleton object. In some cases, I want the singleton to be recreated ... I tried: ObjectFactory.Model.For () EjectAndRemoveAll () ;.
Does anyone know how I can remove current instances for a specific type without deleting the rules that determine its creation. for example, ObjectFactory.EjectAllInstancesOf will also remove the configuration rules.
thanks for the help
source
share