Updated Lifestyles (markdown)

master
Simon G 7 years ago
parent b6acc25f13
commit b74a386875
  1. 2
      Lifestyles.md

@ -8,7 +8,7 @@ The lifestyles are part of the enum `Lifestyle`.
Using the `Transient`-Lifestyle, a new instance gets created every time an instance is resolved.
`Transient` instances are not tracked by the `IocContainer`, so once you don't need them anymore they can be claimed by the garbage collector without leaking memory.
:information_source: This is the default `Lifestyle` that the [[`RegistrationFactory`|RegistrationFactory]] uses.
:information_source: This is the default `Lifestyle` that the [`RegistrationFactory`](RegistrationFactory) uses.
## `Lifestyle.Singleton`

Loading…
Cancel
Save