A game about forced loneliness, made by TACStudios
1/*---------------------------------------------------------------------------------------------
2 * Copyright (c) Unity Technologies.
3 * Copyright (c) Microsoft Corporation. All rights reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 *--------------------------------------------------------------------------------------------*/
6namespace Microsoft.Unity.VisualStudio.Editor
7{
8 public interface IGUIDGenerator
9 {
10 string ProjectGuid(string projectName, string assemblyName);
11 string SolutionGuid(string projectName, ScriptingLanguage scriptingLanguage);
12 }
13
14 class GUIDProvider : IGUIDGenerator
15 {
16 public string ProjectGuid(string projectName, string assemblyName)
17 {
18 return SolutionGuidGenerator.GuidForProject(projectName + assemblyName);
19 }
20
21 public string SolutionGuid(string projectName, ScriptingLanguage scriptingLanguage)
22 {
23 return SolutionGuidGenerator.GuidForSolution(projectName, scriptingLanguage);
24 }
25 }
26}