Ejemplo n.º 1
0
 public VMmodification(MyModification root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new ModificationWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
Ejemplo n.º 2
0
        private static string Convert(MyModification input, Function f, ref int i)
        {
            var modifications = new List <string>();

            foreach (var a in input.Assignments)
            {
                modifications.Add(Convert(a, f, ref i));
            }
            return(string.Join("\n", modifications));
        }
Ejemplo n.º 3
0
    public bool Equals(IModification <MySolution> other_)
    {
        MyModification other = other_ as MyModification;

        if (other == null)
        {
            return(false);
        }

        return(true);
    }