2 implementations of ContentRootPath
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEnvironment.cs (1)
24
public string
ContentRootPath
{ get; set; } = default!;
Microsoft.Extensions.Hosting (1)
Internal\HostingEnvironment.cs (1)
31
public string
ContentRootPath
{ get; set; } = string.Empty;
2 references to ContentRootPath
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostBuilderTests.cs (1)
663
Assert.Equal("/", host.Services.GetService<Extensions.Hosting.IHostingEnvironment>().
ContentRootPath
);
Microsoft.Extensions.Hosting.Abstractions (1)
IHostingEnvironment.cs (1)
37
/// Gets or sets an <see cref="IFileProvider"/> pointing at <see cref="
ContentRootPath
"/>.