Share via


IDirectoryFormatter Interface

Definition

Generates the view for a directory

public interface class IDirectoryFormatter
public interface IDirectoryFormatter
type IDirectoryFormatter = interface
Public Interface IDirectoryFormatter
Derived

Methods

GenerateContentAsync(HttpContext, IEnumerable<IFileInfo>)

Generates the view for a directory. Implementers should properly handle HEAD requests. Implementers should set all necessary response headers (e.g. Content-Type, Content-Length, etc.).

Applies to