예제 #1
0
 public int CompareTo(object obj)
 {
     if (NameFull != null && obj is PgUserM)
     {
         return(NameFull.CompareTo((obj as PgUserM).NameFull));
     }
     else
     {
         return(0);
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     return(pid | Length << 16 | Units.GetHashCode() | NameFull.GetHashCode() << 24 | NameShort.GetHashCode() << 4);
 }