This project is read-only.

Create a ValidRange class, extending Range

Right now if I do this: var range = new Range<int>(5, 2); That works, the object just sets Start to 2, and End to 5. There are cases where we want a validated range - that is, start should be les...

Id #21076 | Release: None | Updated: Jun 12, 2014 at 4:28 PM by jasonrbock | Created: Jun 12, 2014 at 4:28 PM by jasonrbock

Add an overload for Intersect

Instead of this: var newRange = range.Intersect(new Range<int>(5, 12)); Add this: var newRange = range.Intersect(5, 12); Since we know what the type is for the range, we can do this. Also, I c...

Id #20246 | Release: None | Updated: Sep 28, 2013 at 6:51 PM by jasonrbock | Created: Sep 28, 2013 at 6:51 PM by jasonrbock

Printing an Exception That Was Not Thrown Has Errors

If I do this:   var exception = new NotSupportedException(); exception.Print();   FormatMethod() gets a null method, which results in an exception

Id #17780 | Release: None | Updated: Feb 13, 2013 at 6:32 PM by jasonrbock | Created: Apr 6, 2012 at 7:42 PM by jasonrbock

There seems to be a bug in overload for generate that included values to exclude

/// <summary> /// Generates a value for the specified type /// that is not in a specified list of values. /// </summary> /// <typeparam name="T">The type to generate a value for.</t...

Id #17149 | Release: None | Updated: Feb 13, 2013 at 6:32 PM by ola_lawal | Created: Dec 29, 2011 at 11:10 PM by ola_lawal

Add an Overload to Generate() That Takes a Range<T>

This would allow users to specify creating an integer between 20 and 50, for example.

Id #15913 | Release: None | Updated: Oct 25, 2013 at 2:46 PM by ElyBob | Created: May 24, 2011 at 9:26 PM by jasonrbock

Add EnumExtensions

Two that I commonly use are:   GetDescription(enum) - It's common to see enumerations with the System.ComponentModel.DescriptionAttribute - this makes it easy to get that value GetEnum(string, enum...

Id #15616 | Release: None | Updated: Oct 25, 2013 at 2:46 PM by ElyBob | Created: Mar 30, 2011 at 2:02 PM by jasonrbock

  • 1-6 of 6 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items