示例#1
0
 public override int CompareTo(object obj)
 {
     if (obj is IdentificadorPago)
     {
         IdentificadorPago oVar = obj as IdentificadorPago;
         return(String.Compare(this.ToString(), oVar.ToString(), true));
     }
     else if (obj is string)
     {
         return(String.Compare(this.ToString(), obj as string));
     }
     else
     {
         return(-1);
     }
 }
示例#2
0
 public void Limpiar()
 {
     this.identificadorPagos = null;
     this.formaPago          = null;
 }