/// <summary> /// Porównuje czy jeden obiekt SubtitlesEditStateModification jest równy drugiemu. /// </summary> /// <param name="other">Obiekt Selection do porównania.</param> /// <returns>Równy czy nie.</returns> public bool Equals(SubtitlesEditStateModification other) { if (other != null) { return((this.oldState == other.oldState) && (this.newState == other.newState)); } else { return(false); } }
/// <summary> /// Porównuje czy jeden System.Object jest równy drugiemu. /// </summary> /// <param name="o">System.Object do porównania.</param> /// <returns>Równy czy nie.</returns> public override bool Equals(object obj) { SubtitlesEditStateModification other = obj as SubtitlesEditStateModification; if (other != null) { return(Equals(other)); } else { return(false); } }