Releases: JanikHelbig/TinyContainer
Releases · JanikHelbig/TinyContainer
Version 1.5.0
- Added:
ILateUpdateHandler
interface to extend the existing lifecycle callback interfaces. - Added:
TinyContainer.enabledEventFunctions
flags to provide the option to disable unused lifecycle callbacks.
Version 1.4.1
Fix: Update version in package.json
to match release version (#1)
Version 1.4.0
- Added
TinyContainer.IsGlobalConfigured
so consumers can defer initialization until the container has been configured by some other means. - Improved error and warning messages when containers are being initialized.
Version 1.3.0
- Added
T Get<T>()
method for returing instances directly. - Added
TypeNotFoundException
toT Get<T>()
andTinyContainer Get<T>(out T instance)
for quicker error detection. Usebool TryGet<T>(out T instance)
when you're unsure wether or not the type has been registered already.
Version 1.2.3
- Added
bool TinyContainer.TryGet(out T instance)
to manually handle missing instances - Fixed package version metadata
Version 1.2.2
- Change type of property
TinyContainer.RegisteredInstances
fromICollection<object>
toIEnumerable<object>
Version 1.2.1
- Added
RegisteredInstances
property to container. This could, for example, be used to iterate over the registered instances and dispatch interface events.
Version 1.2.0
- Change: Renamed
TinyContainer.Root
toTinyContainer.Global
, including related members. - Add:
IUpdateHandler
andIFixedUpdateHandler
to receive lifecycle callbacks on registered instances. - Fixed: Occasional NullReferenceExcpetion when closing the game.
Version 1.1.3
- Fix: Package version in package,json
Version 1.1.1
- Fix: Destroyed scene context containers are now removed from the scene dictionary