public static Solution Create(string location, string name, bool save = true) { var result = new Solution(); result.Name = name; result.CurrentDirectory = location + Platform.DirectorySeperator; if (save) { result.Save(); } return(result); }
public static Solution Create(string location, string name, bool save = true) { var result = new Solution(); result.CurrentDirectory = location + Platform.DirectorySeperator; result.Location = Path.Combine(result.CurrentDirectory, name + "." + Extension); if (save) { result.Save(); } return(result); }
public static Solution Create(string location, string name, bool save = true) { var result = new Solution(); result.Name = name; result.CurrentDirectory = location + Platform.DirectorySeperator; if (save) { result.Save(); } return result; }