WebHostBuilderExtensions.UseSolutionRelativeContentRoot メソッド

定義

オーバーロード

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

のコンテンツ ルートを に対して相対的に設定します solutionRelativePath

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

のコンテンツ ルートを に対して相対的に設定します solutionRelativePath

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs

のコンテンツ ルートを に対して相対的に設定します 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

パラメーター

solutionRelativePath
String

ソリューション ファイルのディレクトリ。

solutionName
String

コンテンツ ルートを相対的にするソリューション ファイルの名前。

戻り値

IWebHostBuilder

適用対象

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs

のコンテンツ ルートを に対して相対的に設定します 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

パラメーター

solutionRelativePath
String

ソリューション ファイルのディレクトリ。

applicationBasePath
String

アプリのディレクトリのルート。

solutionName
String

コンテンツ ルートを相対的にするソリューション ファイルの名前。

戻り値

IWebHostBuilder

適用対象