Skip to content

0.1.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@hypercodeplace hypercodeplace released this 29 Nov 12:50
· 35 commits to master since this 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 takes Func<T> valueFactory.
  • BuildLazyProxyType methods are renamed to GetType;
  • 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>> to Func<T>
  • Class constraint for T is added.