[This is preliminary documentation and is subject to change.]
Replaces any current singleton object with a new one.
| C# |
public void ReplaceSingleton( Persistent singleton )
- singleton (Persistent)
- The new singleton object.
This replaces an existing singleton object for the running Package in the current Environment with the supplied one.
NB: This will delete the entire persistent tree under the existing singleton object with the same class as the supplied one.