Ejemplo n.º 1
0
 public bool Equals(ITransicion other)
 {
     return((!EsAutomatica || other.EsAutomatica) && (!other.EsAutomatica || EsAutomatica)
            //&& Descripcion.Equals(other.Descripcion)
            && FechaTransicion.Equals(other.FechaTransicion) &&
            Flujograma.Equals(other.Flujograma) &&
            Origen.Equals(other.Origen) &&
            Destino.Equals(other.Destino));
 }
Ejemplo n.º 2
0
 public bool Equals(IEstado other)
 {
     return((!EsEstadoFinal || other.EsEstadoFinal) && (!other.EsEstadoFinal || EsEstadoFinal) &&
            Estado == other.Estado && Nombre.Equals(other.Nombre) &&
            Flujograma.Equals(other.Flujograma));
 }