IAssemblyNameProvider.cs 977 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEditor.Compilation;
  4. namespace Packages.Rider.Editor.ProjectGeneration
  5. {
  6. internal interface IAssemblyNameProvider
  7. {
  8. string[] ProjectSupportedExtensions { get; }
  9. string ProjectGenerationRootNamespace { get; }
  10. ProjectGenerationFlag ProjectGenerationFlag { get; }
  11. string GetAssemblyNameFromScriptPath(string path);
  12. string GetProjectName(string assemblyOutputPath, string assemblyName);
  13. bool IsInternalizedPackagePath(string path);
  14. IEnumerable<Assembly> GetAssemblies(Func<string, bool> shouldFileBePartOfSolution);
  15. IEnumerable<string> GetAllAssetPaths();
  16. UnityEditor.PackageManager.PackageInfo FindForAssetPath(string assetPath);
  17. ResponseFileData ParseResponseFile(string responseFilePath, string projectDirectory, string[] systemReferenceDirectories);
  18. IEnumerable<string> GetRoslynAnalyzerPaths();
  19. void ToggleProjectGeneration(ProjectGenerationFlag preference);
  20. }
  21. }