Beispiel #1
0
 /// <summary>
 /// Compares 2 instances of Tag.
 /// </summary>
 public static int CompareByModifiedUtc(Tag tag1, Tag tag2)
 {
     return tag1.ModifiedUtc.CompareTo(tag2.ModifiedUtc);
 }
Beispiel #2
0
 /// <summary>
 /// Compares 2 instances of Tag.
 /// </summary>
 public static int CompareByTag(Tag tag1, Tag tag2)
 {
     return tag1.TagText.CompareTo(tag2.TagText);
 }
Beispiel #3
0
 /// <summary>
 /// Compares 2 instances of Tag.
 /// </summary>
 public static int CompareByCreatedUtc(Tag tag1, Tag tag2)
 {
     return tag1.CreatedUtc.CompareTo(tag2.CreatedUtc);
 }