Exemplo n.º 1
0
 /// <summary>
 /// Orders the collection by the objects creation timestamps
 /// </summary>
 public static IEnumerable <T> OrderByCreationTimeStamp <T>(this IEnumerable <T> list) where T : Dwarf <T>, new()
 {
     return(list.OrderBy(x => AuditLog.GetCreatedEvent(x).TimeStamp));
 }