public bool Equals(StorEvilScenarioElement other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; if (!Scenario.Id.Equals(other.Scenario.Id)) return false; return other.Scenario.Location.Path == Scenario.Location.Path && other.Scenario.Name == Scenario.Name; }
public bool Equals(StorEvilScenarioElement other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (!Scenario.Id.Equals(other.Scenario.Id)) { return(false); } return(other.Scenario.Location.Path == Scenario.Location.Path && other.Scenario.Name == Scenario.Name); }