mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
21 lines
671 B
C#
21 lines
671 B
C#
namespace VSCodeEditor
|
|
{
|
|
public interface IGUIDGenerator
|
|
{
|
|
string ProjectGuid(string projectName, string assemblyName);
|
|
string SolutionGuid(string projectName, string extension);
|
|
}
|
|
|
|
class GUIDProvider : IGUIDGenerator
|
|
{
|
|
public string ProjectGuid(string projectName, string assemblyName)
|
|
{
|
|
return SolutionGuidGenerator.GuidForProject(projectName + assemblyName);
|
|
}
|
|
|
|
public string SolutionGuid(string projectName, string extension)
|
|
{
|
|
return SolutionGuidGenerator.GuidForSolution(projectName, extension); // GetExtensionOfSourceFiles(assembly.sourceFiles)
|
|
}
|
|
}
|
|
}
|