You've already forked com.unity.ide.cursor
mirror of
https://github.com/boxqkrtm/com.unity.ide.cursor.git
synced 2026-05-15 06:40:08 +00:00
21 lines
688 B
C#
21 lines
688 B
C#
|
|
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);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|