HtmlDirectoryFormatter.GenerateContentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates an HTML view for a directory.
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
Parameters
- context
- HttpContext
- contents
- IEnumerable<IFileInfo>