Ejemplo n.º 1
0
        protected override bool IsIdenticCore(Model model)
        {
            const string uniqId = "UniqueId";

            return(model is ScenarioModel another &&
                   Definitions.Where(def => def.Name != uniqId)
                   .SequenceEqual(another.Definitions.Where(def => def.Name != uniqId)) &&
                   Environments.IsIdentical(another.Environments) &&
                   Deployment.IsIdentical(another.Deployment) &&
                   Actions.IsIdentical(another.Actions));
        }