Enferno.Public 2.3.0

Enferno Public

Enferno API helpers.

Install-Package Enferno.Public -Version 2.3.0
dotnet add package Enferno.Public --version 2.3.0
<PackageReference Include="Enferno.Public" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Enferno.Public --version 2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

**BREAKING CHANGE**: Removed AddCache from CacheManager. Added constructor to handle additions of caches.
This is due to the fact that Unity now does not support making multiple calls to methods when resolving components from configuration.

You will get a message similar to this "System.InvalidOperationException: Configuration is incorrect, the type CacheManager does not have a method named AddCache that takes parameters named cache."
Just remove the method entries under register and add a constructor instead.

Change:
```xml
<register type="ICacheManager" mapTo="CacheManager">
 <lifetime type="singleton" />
 <method name="AddCache">
   <param name="cache" dependencyName="EnfernoData" />
 </method>
</register>
```
To:
```xml
<register type="ICacheManager" mapTo="CacheManager">
 <lifetime type="singleton" />
 <constructor>
   <param name="caches">
     <array>
     <dependency name="EnfernoData"/>
     </array>
     </param>
 </constructor>
</register>
```
Just add more entries under <array> if you are using multiple caches.

See release notes for 2.0.0 when upgrading from earlier versions.

Version History

Version Downloads Last updated
2.3.0 92 4/16/2019
2.2.0 154 3/1/2019
2.1.4 70 2/28/2019
2.1.3 67 2/28/2019
2.1.2 69 2/28/2019
2.1.1 69 2/28/2019
2.1.0 68 2/28/2019
2.0.1-beta7 103 8/24/2018
2.0.1-beta6 109 8/22/2018
2.0.1-beta5 110 8/20/2018
2.0.1-beta4 110 8/17/2018
2.0.1-beta3 109 8/17/2018
2.0.1-beta2 126 8/16/2018
2.0.1-beta 112 8/15/2018
2.0.0 2,844 5/30/2018
2.0.0-beta 159 5/28/2018
1.0.17 3,202 9/20/2016
1.0.17-beta4 240 9/9/2016
1.0.17-beta3 213 9/9/2016
1.0.17-beta2 218 9/8/2016
1.0.17-Beta 212 9/8/2016
1.0.16 276 9/5/2016
1.0.16-beta 238 8/17/2016
1.0.15.2 375 6/16/2016
1.0.15.1 621 1/12/2016
1.0.15 707 7/2/2015
1.0.15-beta2 262 6/22/2015
1.0.15-beta 269 6/18/2015
1.0.14.2 596 5/28/2015
1.0.14.1 289 5/26/2015
1.0.14 321 5/26/2015
1.0.14-beta 270 5/6/2015
1.0.13.2 282 5/26/2015
1.0.13 405 2/11/2015
1.0.12.1 390 1/28/2015
1.0.11 395 1/13/2015
1.0.10 574 5/12/2014
1.0.9 353 5/9/2014
1.0.8 347 5/9/2014
1.0.7 360 5/2/2014
1.0.7-alpha2 308 4/28/2014
1.0.7-alpha 309 4/25/2014
1.0.6 397 4/10/2014