示例#1
0
 public override int CompareTo(ContractSilvernode other)
 {
     if (other.GetType() == typeof(RequiresSilvernode))
     {
         return(0);
     }
     else
     {
         return(-1);
     }
 }
 public override int CompareTo(ContractSilvernode other)
 {
     if (other.GetType() == typeof(InvariantSilvernode))
     {
         return(0);
     }
     else
     {
         return(1);
     }
 }