4 types derived from RazorProjectFileSystem
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
RazorProjectFileSystemTest.cs (1)
311public sealed class TestRazorProjectFileSystem(params IEnumerable<RazorProjectItem> items) : RazorProjectFileSystem
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\DefaultRazorProjectFileSystem.cs (1)
12internal class DefaultRazorProjectFileSystem : RazorProjectFileSystem
Language\RazorProjectFileSystem.EmptyFileSystem.cs (1)
10private sealed class EmptyFileSystem : RazorProjectFileSystem
Language\VirtualRazorProjectFileSystem.cs (1)
10internal class VirtualRazorProjectFileSystem : RazorProjectFileSystem
40 references to RazorProjectFileSystem
Microsoft.AspNetCore.Razor.Language.UnitTests (14)
Components\ComponentDuplicateAttributeDiagnosticPassTest.cs (1)
20RazorProjectFileSystem.Create(Environment.CurrentDirectory),
Components\ComponentMarkupBlockPassTest.cs (1)
19RazorProjectFileSystem.Create(Environment.CurrentDirectory),
Components\ComponentMarkupEncodingPassTest.cs (1)
19RazorProjectFileSystem.Create(Environment.CurrentDirectory),
Components\ComponentWhitespacePassTest.cs (1)
18RazorProjectFileSystem.Create(Environment.CurrentDirectory),
RazorProjectEngineBuilderExtensionsTest.cs (5)
19var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object); 38var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object); 55var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object); 74var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object); 91var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object);
RazorProjectEngineBuilderTest.cs (4)
18var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object); 38var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object); 57var fileSystem = new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object;
RazorProjectEngineTest.cs (1)
24var engine = RazorProjectEngine.Create(RazorConfiguration.Default, new Mock<RazorProjectFileSystem>(MockBehavior.Strict).Object);
Microsoft.AspNetCore.Razor.Microbenchmarks.Compiler (4)
CodeGenerationBenchmark.cs (2)
25var fileSystem = RazorProjectFileSystem.Create(root.FullName);
SyntaxTreeGenerationBenckmark.cs (2)
27var fileSystem = RazorProjectFileSystem.Create(root.FullName);
Microsoft.AspNetCore.Razor.Test.Common (3)
Language\RazorProjectEngineTestBase.cs (2)
25return RazorProjectEngine.Create(Configuration, RazorProjectFileSystem.Empty, ConfigureProjectEngine); 105=> RazorProjectEngine.Create(Configuration, RazorProjectFileSystem.Empty, builder =>
Language\TestRazorProjectFileSystem.cs (1)
12public static new readonly RazorProjectFileSystem Empty = new TestRazorProjectFileSystem();
Microsoft.AspNetCore.Razor.Test.Common.Tooling (2)
Language\RazorToolingProjectEngineTestBase.cs (2)
30return RazorProjectEngine.Create(configuration, RazorProjectFileSystem.Empty, ConfigureProjectEngine); 36return RazorProjectEngine.Create(configuration, RazorProjectFileSystem.Empty, b =>
Microsoft.CodeAnalysis.Razor.Compiler (17)
Language\Components\ComponentImportProjectFeature.cs (1)
38private static ImmutableArray<RazorProjectItem> GetHierarchicalImports(RazorProjectFileSystem fileSystem, RazorProjectItem projectItem)
Language\RazorProjectEngine.cs (6)
20public RazorProjectFileSystem FileSystem { get; } 33RazorProjectFileSystem fileSystem, 279var builder = new RazorProjectEngineBuilder(RazorConfiguration.Default, RazorProjectFileSystem.Empty); 287=> Create(RazorConfiguration.Default, RazorProjectFileSystem.Empty, configure); 289public static RazorProjectEngine Create(RazorConfiguration configuration, RazorProjectFileSystem fileSystem) 294RazorProjectFileSystem fileSystem,
Language\RazorProjectEngineBuilder.cs (2)
14public RazorProjectFileSystem FileSystem { get; } 18internal RazorProjectEngineBuilder(RazorConfiguration configuration, RazorProjectFileSystem fileSystem)
Language\RazorProjectFileSystem.cs (4)
19public static readonly RazorProjectFileSystem Empty = new EmptyFileSystem(); 148/// Performs validation for paths passed to methods of <see cref="RazorProjectFileSystem"/>. 167/// <returns>A <see cref="RazorProjectFileSystem"/></returns> 168public static RazorProjectFileSystem Create(string rootDirectoryPath)
Language\RazorProjectItem.cs (2)
12/// An item in a <see cref="RazorProjectFileSystem"/>. 68=> BasePath == RazorProjectFileSystem.DefaultBasePath
Mvc.Version2_X\RazorPageDocumentClassifierPass.cs (1)
19RazorProjectFileSystem.Create("/"),
Mvc\RazorPageDocumentClassifierPass.cs (1)
28RazorProjectFileSystem.Create("/"),