Skip to content

v0.11.0 - More utils!

Choose a tag to compare

@Nixill Nixill released this 28 Jun 20:44
· 153 commits to master since this release

Add the following constructors for DictionaryGenerator<K, V>:

  • (IDictionary<K, V>, Generator<K, V>, bool)
  • (Generator<K, V>, bool)
  • ()
  • (Func<K, V>, bool)
  • (IDictionary<K, V>, Func<K, V>, bool)
  • (V, bool)
  • (IDictionary<K, V>, V, bool)

Add the Wrap() and Wrap(IDictionary<K, V>) methods to Generator<K, V>

Fix EnumerableUtils.MinManyBy()
Note: The original release notes claimed that this release also fixed MaxManyBy(). However, only MinManyBy() is fixed.

Add the following methods to EnumerableUtils:

  • ExceptDualBy<T>(this IEnumerable<T>, IEnumerable<T>, Func<T, K>)
  • ExceptDualBy<T>(this IEnumerable<T>, IEnumerable<T>, Func<T, K>, IEqualityComparer<K>)
  • IntersectDualBy<T>(this IEnumerable<T>, IEnumerable<T>, Func<T, K>)
  • IntersectDualBy<T>(this IEnumerable<T>, IEnumerable<T>, Func<T, K>, IEqualityComparer<K>)
  • SymmetricExcept<T>(this IEnumerable<T>, IEnumerable<T>)
  • SymmetricExcept<T>(this IEnumerable<T>, IEnumerable<T>, IEqualityComparer<T>)
  • ExceptInstances<T>(this IEnumerable<T>, IEnumerable<T>)
  • InteractInstances<T>(this IEnumerable<T>, IEnumerable<T>)
  • SJoin<T>(this IEnumerable<T>, string)
  • Pairs<T>(this IEnumerable<T>)

Add JsonUtils with the following methods:

  • ReadPath(this JsonNode, params object)
  • WritePath(this JsonNode, JsonNode, params object)

Add JsonPathElementException