Project Description
Easy-to-use and high performance dynamic sorting library supporting SQL-like syntax and complex/nested expressions, that uses System.Linq.Expression to dynamically build fast comparers.

With this library you can sort a List<T> using a textual sort expression:

List<Person> person;

person.Sort("Name.Length, BirthDate DESCENDING");

You can also use LINQ style OrderBy like this:
// Print names ordered by year of birth (and then by Name).
foreach( Person p in persons.OrderBy("BirthDate.Year, Name")
{
   Console.WriteLine(p.Name);
}

Dynamite uses the System.Linq.Expression namespace to build and compile fast running comparer. Please read more about this library in the article below.

References
  1. Dynamite: High Performace Dynamic Sorting Using Expressions Article describing usage and design of Dynamite library.
Last edited Oct 1 2008 at 7:45 PM by henjon, version 3

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (1)

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987