NetStandard 1.1+ support, new IdGen.Configuration package, bugfix
Changes:
- Support for NetStandard 1.1+
- Moved AppConfig stuff to separate
IDGen.Configuration
package -
ID
now implementsIEquatable
- Fixed some
ArgumentOutOfRangeExceptions
from theIdGenerator
's ctor messages - Fixed bug (see #18) where internal timer was started only on first use instead of on instantiation. Thanks @stuart-beattie!
- Minor internal cleanup / refactoring
Breaking changes:
If you're using the IdGenerator.GetFromConfig(...)
method make sure you check the README. The changes aren't big, but breaking nonetheless. How to fix:
- Install
IdGen.Configuration
package - Change the configsection type from:
IdGen.Configuration.IdGeneratorsSection, IdGen
to:IdGen.Configuration.IdGeneratorsSection, IdGen.Configuration
- Add a
using IdGen.Configuration
- Change
IdGenerator.GetFromConfig(...)
toAppConfigFactory.GetFromConfig(...)