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