public VMmodification(MyModification root, VMfunction parent) : base(root, parent) { this.CommandOpen = new DelegateCommand(() => new ModificationWindow() { DataContext = this }.ShowDialog()); }
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)); }
public bool Equals(IModification <MySolution> other_) { MyModification other = other_ as MyModification; if (other == null) { return(false); } return(true); }