rnm-kmdi
New member
- Joined
- Apr 18, 2021
- Messages
- 2
- Programming Experience
- 1-3
hello we are using unity IoC container for implementing a passive MVP... I'm having trouble over which type of lifetime manager I should use and why.
We currently use ContainerControlled, which is a singleton, are there any other stuff that using that isn't a good idea?
When should one use each type of lifetime manager? Like what situation should one use this or that.
to save memory, we'll dispose the view instead of hiding it...
thanks all in advance!
We currently use ContainerControlled, which is a singleton, are there any other stuff that using that isn't a good idea?
When should one use each type of lifetime manager? Like what situation should one use this or that.
to save memory, we'll dispose the view instead of hiding it...
thanks all in advance!