Exemple #1
0
 public int CompareTo(MFilesUserGroup other)
 {
     if (other == null)
     {
         return(1);
     }
     return(GroupId.CompareTo(other.GroupId));
 }
Exemple #2
0
 public int CompareTo(object obj)
 {
     if (obj == null || obj.GetType() != GetType())
     {
         throw new ArgumentException("Different types comparison");
     }
     return(GroupId.CompareTo((obj as Group).GroupId));
 }