WebHostBuilderExtensions.UseSolutionRelativeContentRoot Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String) |
Mengatur akar konten relatif terhadap |
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String) |
Mengatur akar konten relatif terhadap |
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
Mengatur akar konten relatif terhadap solutionRelativePath
.
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSolutionRelativeContentRoot (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string solutionRelativePath, string solutionName = "*.sln");
static member UseSolutionRelativeContentRoot : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string * string -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSolutionRelativeContentRoot (builder As IWebHostBuilder, solutionRelativePath As String, Optional solutionName As String = "*.sln") As IWebHostBuilder
Parameter
- builder
- IWebHostBuilder
- solutionRelativePath
- String
Direktori file solusi.
- solutionName
- String
Nama file solusi untuk membuat akar konten relatif terhadap.
Mengembalikan
Berlaku untuk
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
- Sumber:
- WebHostBuilderExtensions.cs
Mengatur akar konten relatif terhadap solutionRelativePath
.
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSolutionRelativeContentRoot (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string solutionRelativePath, string applicationBasePath, string solutionName = "*.sln");
static member UseSolutionRelativeContentRoot : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string * string * string -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSolutionRelativeContentRoot (builder As IWebHostBuilder, solutionRelativePath As String, applicationBasePath As String, Optional solutionName As String = "*.sln") As IWebHostBuilder
Parameter
- builder
- IWebHostBuilder
- solutionRelativePath
- String
Direktori file solusi.
- applicationBasePath
- String
Akar direktori aplikasi.
- solutionName
- String
Nama file solusi untuk membuat akar konten relatif terhadap.