/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.ide.visualstudio@2.0.22/Editor/ProjectGeneration/GUIDProvider.cs
26 строк
995 B
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
/*--------------------------------------------------------------------------------------------- * Copyright (c) Unity Technologies. * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ namespace Microsoft.Unity.VisualStudio.Editor { public interface IGUIDGenerator { string ProjectGuid(string projectName, string assemblyName); string SolutionGuid(string projectName, ScriptingLanguage scriptingLanguage); } class GUIDProvider : IGUIDGenerator { public string ProjectGuid(string projectName, string assemblyName) { return SolutionGuidGenerator.GuidForProject(projectName + assemblyName); } public string SolutionGuid(string projectName, ScriptingLanguage scriptingLanguage) { return SolutionGuidGenerator.GuidForSolution(projectName, scriptingLanguage); } } }