0.1.4
Pre-release
Pre-release
There are breaking changes in this version
- Lazy proxy had a constructor that takes
Lazy<IService<T>> lazy
argument. For now constructor is empty but method Initialize is added that takesFunc<T> valueFactory
. BuildLazyProxyType
methods are renamed toGetType
;- CreateLazyProxyInstance methods are renamed to
CreateInstance
.
Other changes
- Generic types will cause generating of open-generic proxies only;
- Non-generic overload of
CreateInstance
is added; - Method Initialize is used instead of ctor to improve performance
- Argument of proxy is changed from
Lazy<IService<T>>
toFunc<T>
- Class constraint for
T
is added.