Bagikan melalui


WebHostBuilderExtensions.UseSolutionRelativeContentRoot Metode

Definisi

Overload

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

Mengatur akar konten relatif terhadap solutionRelativePath.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

Mengatur akar konten relatif terhadap solutionRelativePath.

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

solutionRelativePath
String

Direktori file solusi.

solutionName
String

Nama file solusi untuk membuat akar konten relatif terhadap.

Mengembalikan

IWebHostBuilder.

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

solutionRelativePath
String

Direktori file solusi.

applicationBasePath
String

Akar direktori aplikasi.

solutionName
String

Nama file solusi untuk membuat akar konten relatif terhadap.

Mengembalikan

IWebHostBuilder.

Berlaku untuk