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>