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;
        }
Ejemplo n.º 2
0
        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);
        }