protected bool Equals(ScenarioAttribute other) { return(base.Equals(other) && DisplayName == other.DisplayName && Skip == other.Skip && GetScenarioHashCode() == other.GetScenarioHashCode()); }
/// <summary> /// Compares the scenarios of two scenario attributes. /// This method does not take DisplayName or Skip reason into account. /// </summary> /// <param name="other"></param> /// <returns>True if the two attributes represent the same scenario, false otherwise</returns> public virtual bool ScenarioEquals(ScenarioAttribute other) { if (other == null) { return(false); } return(GetScenarioHashCode() == other.GetScenarioHashCode()); }