v1.2.0

Rating: No reviews yet
Downloads: 15
Change Set: 71548
Released: Mar 16, 2013
Updated: Mar 16, 2013 by crpietschmann
Dev status: Stable Help Icon

Recommended Download

Application dotNetExt.dll
application, 31K, uploaded Mar 16, 2013 - 15 downloads

Release Notes

Nuget Package
Install dotNetExt via Nuget

This release contains some additional methods that are also useful.

CHANGE LOG
  • Added IDictionary<string, object>.ToExpando() extension method
  • Added NameValueCollection.ToDictionary() extension method
  • Added String.IsEmpty() extension method
  • Added String.IsNullOrEmpty() extension method
  • Added String.Repeat(int) extension method for easily building a string that is a certain number of copies of the source string
  • Added Char.Repeat(int) extension method for easily building a string that is a certain number of copies of the source Char
  • Added IComparable.InRange<T>(T min, T max) extension method to easily check if a value fall within a range of min and max values (inclusive.)
  • Changed Int.TImes(Action<int>) method to throw ArgumentOutOfRangeException if Int is less than zero (0)
  • Changed DateTime.RoundToNearest to use ".AddTicks" method instead of creating a new DateTime object within the method itself.
  • Changed "Object.ToDictionary()" method to return IDictionary<string, object> instead of Dictionary<string, object>.
  • Changed "Object.ToDictionary()" method to properly handle IDictionary<string, object> instances.

Reviews for this release

No reviews yet for this release.