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)); }
public bool Equals(IEstado other) { return((!EsEstadoFinal || other.EsEstadoFinal) && (!other.EsEstadoFinal || EsEstadoFinal) && Estado == other.Estado && Nombre.Equals(other.Nombre) && Flujograma.Equals(other.Flujograma)); }