Releases: Yeah69/MrMeeseeks.DIE
Releases · Yeah69/MrMeeseeks.DIE
Fixed disposal handling
- Disposables that were already created in an entry-function call that is aborted due to an exception will be disposed eagerly instead of cached in the container for the final disposal
- Disposal order reverse to instantiation order is guaranteed
v3.1.0 Open Generic Create Functions
DIE now supports open generic types for create functions. For example, declare
[CreateFunction(typeof(MyGenericClass<>), "Create")]
and let DIE generate a function with following header:
public MyClass<T_0_0> Create()
The open generic parameter then can be provided upon calling the create function.
v3.0.0 Decoration Ordinals
- Alternatively to explicit decorator sequences, order decorators by assigning ordinals to them
This release contains following breaking changes:
- Before, implementations with more than one decorator needed to have an explicit decorator sequence. Now, if not configured they have an ordinal of zero and won't have a fixed order guaranteed.
- Container classes have to be sealed
v2.1.1 Reusable Configurations
Make configurations reusable with interfaces (attributes only) & abstract classes (attributes & user-defined elements)
v2.1.0 Keyed Injections
Merge pull request #25 from Yeah69/feature/keyed-injections Feature/keyed injections