- add info icon

master
Simon G 7 years ago
parent 40e5e66fc2
commit a0fee49d11
  1. 2
      Lifestyles.md

@ -7,7 +7,7 @@ The lifestyles are part of the enum `Lifestyle`.
Using the `Transient`-Lifestyle, a new instance gets created every time an instance is resolved. 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. `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.
This is the default `Lifestyle` that the [[`RegistrationFactory`|RegistrationFactory]] uses. This is the default `Lifestyle` that the [[`RegistrationFactory`|RegistrationFactory]] uses.
## `Lifestyle.Singleton` ## `Lifestyle.Singleton`

Loading…
Cancel
Save