public FileSystemPath Resolve(string assemblyNameOrFile, IPsiSourceFile sourceFile) { var projectFile = sourceFile.ToProjectFile(); if (projectFile == null) { return(null); } var pathWithMacros = new T4PathWithMacros(assemblyNameOrFile, sourceFile, projectFile); return(Resolve(pathWithMacros)); }
private void TryAddReference([NotNull] string name) { var path = new T4PathWithMacros(name, SourceFile, ProjectFile, Solution); TryAddReference(path); }