mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 09:45:32 +00:00
added basic start page setup; began rewrite of parser
This commit is contained in:
22
HaDocumentNew/Comparers/DefaultComparer.cs
Normal file
22
HaDocumentNew/Comparers/DefaultComparer.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
// using System;
|
||||
// using System.Collections.Generic;
|
||||
// using System.Linq;
|
||||
// using System.Text;
|
||||
// using System.Threading.Tasks;
|
||||
// using HaDocument.Models;
|
||||
|
||||
// namespace HaDocument.Comparers
|
||||
// {
|
||||
// public class DefaultComparer : IComparer<Meta>
|
||||
// {
|
||||
// public int Compare(Meta first, Meta second)
|
||||
// {
|
||||
// if (first.Sort != second.Sort)
|
||||
// return System.DateTime.Compare(first.Sort, second.Sort);
|
||||
// else if (first.Order != second.Order)
|
||||
// return first.Order.CompareTo(second.Order);
|
||||
// else
|
||||
// return String.Compare(first.Index, second.Index);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user