9 instantiations of NullFileProvider
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
RazorComponentEndpointInvokerTest.cs (1)
57public IFileProvider WebRootFileProvider { get => new NullFileProvider(); set => throw new NotImplementedException(); }
RazorComponentsServiceCollectionExtensionsTest.cs (2)
142public IFileProvider WebRootFileProvider { get; set; } = new NullFileProvider(); 146public IFileProvider ContentRootFileProvider { get; set; } = new NullFileProvider();
Microsoft.AspNetCore.Components.Server.Tests (1)
ComponentEndpointRouteBuilderExtensionsTest.cs (1)
129environment.SetupGet(e => e.WebRootFileProvider).Returns(new NullFileProvider());
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
264 return new NullFileProvider();
Microsoft.AspNetCore.Components.WebView.Wpf (1)
BlazorWebView.cs (1)
351 return new NullFileProvider();
Microsoft.AspNetCore.Hosting (2)
Internal\HostingEnvironmentExtensions.cs (2)
52hostingEnvironment.WebRootFileProvider = new NullFileProvider(); 103hostingEnvironment.WebRootFileProvider = new NullFileProvider();
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
677.Returns(new NullFileProvider());
4 references to NullFileProvider
Identity.DefaultUI.WebSite (1)
StartupBase.cs (1)
109case NullFileProvider:
Microsoft.AspNetCore.Hosting.Tests (1)
HostingEnvironmentExtensionsTests.cs (1)
55Assert.IsAssignableFrom<NullFileProvider>(env.WebRootFileProvider);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\VirtualFileResultExecutor.cs (1)
108if (fileProvider is NullFileProvider)
Microsoft.AspNetCore.StaticFiles (1)
StaticFileMiddleware.cs (1)
47if (_fileProvider is NullFileProvider && _fileProvider == hostingEnv.WebRootFileProvider)