private static IEnumerable <string> pathWithNewSimulation(DataColumn column, string oldName, string newName) { var withNewSimulation = new ObjectPath(column.QuantityInfo.Path); withNewSimulation.Replace(oldName, newName); return(withNewSimulation); }
public void UpdateFullOutputPath(string oldValue, string newValue) { var newPath = new ObjectPath(FullOutputPath.ToPathArray()); newPath.Replace(oldValue, newValue); FullOutputPath = newPath; }