Skip to content

v1.0.33

Compare
Choose a tag to compare
@ZacharyPatten ZacharyPatten released this 01 Aug 04:17
· 131 commits to main since this release

Nuget Package

New Features:

  • SLazy<T> (a struct alternative to Lazy<T>)
    • Note that the following members have some slight differences: ToString, GetHashCode, Equals, and the default constructor.
  • ArrayHelper.newFromRanges (construct and initialize an array from System.Ranges)

Changes:

  • added System.Range.ToSpan extension that just wraps the existing ToArray extension and casts to Span<T>
  • added EquateOccurences overload that just wraps the existing IsReorderOf
  • T Combinations<T>(T, T[]) renamed to CombinationsCount to not conflict with the other Combinations overloads
  • Equate overloads that deal with sequences were renamed to EquateSequence (it was a bad idea to name it Equate in the first place)
  • renamed SetEquals to EquateSet to match the rest of the naming conventions (naming conventions are always up for debate)
  • added locks to Meta xml methods (should have done that a long time ago)
  • where TEnum : struct, Enum added to GetLastEnumValue<TEnum>