Пример #1
0
 public override int CompareTo(object y)
 {
     if (y is TemplateKit)
     {
         return(PartNumber.CompareTo(((TemplateKit)y).PartNumber));
     }
     return(0);
 }
Пример #2
0
 public override int CompareTo(object y)
 {
     if (y is AccessoryRequired)
     {
         return(PartNumber.CompareTo(((AccessoryRequired)y).PartNumber));
     }
     return(0);
 }
Пример #3
0
 public override int CompareTo(object y)
 {
     if (y is KitDTO)
     {
         return(PartNumber.CompareTo(((KitDTO)y).PartNumber));
     }
     return(0);
 }
Пример #4
0
 public int CompareTo(PartETag other)
 {
     return(PartNumber.CompareTo(other.PartNumber));
 }