DateComparerAscending ClassCleanCode C# Libraries v1.2.03 API
An OnlineIComparer for sorting files by ascending date.
Inheritance Hierarchy

OnlineSystem Object
  CleanCode.IO DateComparerAscending

Namespace: CleanCode.IO
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public class DateComparerAscending : IComparer
Remarks

This is an implementation of an OnlineIComparer (to be passed to OnlineSort(Array) for example). It compares OnlineFileSystemInfo objects on the modification date property (LastWriteTime), sorting by earliest date first. Adapted from NET Sorting files by Date by John Batdorf (original link http://www.johnbatdorf.net/blog/default,date,2006-01-30.aspx no longer exists).

Since CleanCode 0.9.07.

See Also