private static ComputeGuidHashFor ( string input ) : string | ||
input | string | |
Результат | string |
public static string GuidForSolution(string projectName, string sourceFileExtension) { string result; if (sourceFileExtension.ToLower() == "cs") { result = "FAE04EC0-301F-11D3-BF4B-00C04F79EFBC"; } else { result = SolutionGuidGenerator.ComputeGuidHashFor(projectName); } return(result); }
public static string GuidForProject(string projectName) { return(SolutionGuidGenerator.ComputeGuidHashFor(projectName + "salt")); }