HtmlDirectoryFormatter.GenerateContentAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生目錄的 HTML 檢視。
public:
virtual System::Threading::Tasks::Task ^ GenerateContentAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileProviders::IFileInfo ^> ^ contents);
public virtual System.Threading.Tasks.Task GenerateContentAsync (Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo> contents);
abstract member GenerateContentAsync : Microsoft.AspNetCore.Http.HttpContext * seq<Microsoft.Extensions.FileProviders.IFileInfo> -> System.Threading.Tasks.Task
override this.GenerateContentAsync : Microsoft.AspNetCore.Http.HttpContext * seq<Microsoft.Extensions.FileProviders.IFileInfo> -> System.Threading.Tasks.Task
Public Overridable Function GenerateContentAsync (context As HttpContext, contents As IEnumerable(Of IFileInfo)) As Task
參數
- context
- HttpContext
- contents
- IEnumerable<IFileInfo>