public void Add_RDom_constructors() { var filePairs = UpdateUtilities.GetFilePairs("*.cs", inputDirectory, outputDirectory + "_B", subDirectories); UpdateUtilities.DoUpdateOnFiles(filePairs, root => GetRDomClasses(root), NeedsConstructor, AddConstructor); }
public void Update_notify_property_changed() { //Assert.Inconclusive(); // workspace problem var filePairs = UpdateUtilities.GetFilePairs("*.cs", inputDirectory, outputDirectory + "_A", subDirectories); UpdateUtilities.DoUpdateOnFiles(filePairs, root => root.Descendants .OfType <IProperty>() .Where(x => IsInRDomClass(x)), new UpdateNotifyPropertyChanged()); }