Share via


HtmlDirectoryFormatter Class

Definition

Generates an HTML view for a directory.

public ref class HtmlDirectoryFormatter : Microsoft::AspNetCore::StaticFiles::IDirectoryFormatter
public class HtmlDirectoryFormatter : Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter
type HtmlDirectoryFormatter = class
    interface IDirectoryFormatter
Public Class HtmlDirectoryFormatter
Implements IDirectoryFormatter
Inheritance
HtmlDirectoryFormatter
Implements

Constructors

HtmlDirectoryFormatter(HtmlEncoder)

Constructs the HtmlDirectoryFormatter.

Methods

GenerateContentAsync(HttpContext, IEnumerable<IFileInfo>)

Generates an HTML view for a directory.

Applies to