RazorPageResult 建構函式

定義

多載

RazorPageResult(String, IRazorPage)

初始化 的新實例 RazorPageResult ,以便成功探索。

RazorPageResult(String, IEnumerable<String>)

針對不成功的探索,初始化 的新實例 RazorPageResult

RazorPageResult(String, IRazorPage)

來源:
RazorPageResult.cs
來源:
RazorPageResult.cs
來源:
RazorPageResult.cs

初始化 的新實例 RazorPageResult ,以便成功探索。

public:
 RazorPageResult(System::String ^ name, Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^ page);
public RazorPageResult (string name, Microsoft.AspNetCore.Mvc.Razor.IRazorPage page);
new Microsoft.AspNetCore.Mvc.Razor.RazorPageResult : string * Microsoft.AspNetCore.Mvc.Razor.IRazorPage -> Microsoft.AspNetCore.Mvc.Razor.RazorPageResult
Public Sub New (name As String, page As IRazorPage)

參數

name
String

找到的頁面名稱。

page
IRazorPage

找到 IRazorPage 的 。

適用於

RazorPageResult(String, IEnumerable<String>)

來源:
RazorPageResult.cs
來源:
RazorPageResult.cs
來源:
RazorPageResult.cs

針對不成功的探索,初始化 的新實例 RazorPageResult

public:
 RazorPageResult(System::String ^ name, System::Collections::Generic::IEnumerable<System::String ^> ^ searchedLocations);
public RazorPageResult (string name, System.Collections.Generic.IEnumerable<string> searchedLocations);
new Microsoft.AspNetCore.Mvc.Razor.RazorPageResult : string * seq<string> -> Microsoft.AspNetCore.Mvc.Razor.RazorPageResult
Public Sub New (name As String, searchedLocations As IEnumerable(Of String))

參數

name
String

找不到的頁面名稱。

searchedLocations
IEnumerable<String>

已搜尋的位置。

適用於