2 instantiations of DirectoryNode
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
TestInfrastructure\DirectoryNode.cs (1)
129subDirectory = new DirectoryNode(directoryPath);
TestInfrastructure\VirtualRazorProjectFileSystem.cs (1)
8private readonly DirectoryNode _root = new DirectoryNode("/");
15 references to DirectoryNode
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (15)
TestInfrastructure\DirectoryNode.cs (12)
19public List<DirectoryNode> Directories { get; } = new List<DirectoryNode>(); 33var directory = GetOrAddDirectory(this, directoryPath, createIfNotExists: true); 39public DirectoryNode GetDirectory(string path) 56foreach (var directory in Directories) 73var directory = GetOrAddDirectory(this, directoryPath); 108private static DirectoryNode GetOrAddDirectory( 109DirectoryNode directory, 122var subDirectory = FindSubDirectory(directory, path); 144private static DirectoryNode FindSubDirectory(DirectoryNode parentDirectory, string path) 153var currentDirectory = parentDirectory.Directories[i];
TestInfrastructure\FileNode.cs (1)
18public DirectoryNode Directory { get; set; }
TestInfrastructure\VirtualRazorProjectFileSystem.cs (2)
8private readonly DirectoryNode _root = new DirectoryNode("/"); 13var directory = _root.GetDirectory(basePath);