mirror of
				https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
				synced 2025-10-31 02:05:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			533 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			533 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Collections.Generic;
 | |
| using System.Collections;
 | |
| using System.Linq;
 | |
| using HaDocument.Models;
 | |
| 
 | |
| // namespace HaDocument.Comparers {
 | |
| //     public class CommentComparer : IComparer<Comment> {
 | |
| //         public CommentComparer() : base() { }
 | |
| 
 | |
| //         public int Compare(Comment first, Comment second) {
 | |
| //             if (first.Order != second.Order)
 | |
| //                 return first.Order.CompareTo(second.Order);
 | |
| //             else
 | |
| //                 return first.Index.CompareTo(second.Index);
 | |
| //         }
 | |
| //     }
 | |
| // } | 
