IDirectoryFormatter Interface

 

Generates the view for a directory

Namespace:   Microsoft.Owin.StaticFiles.DirectoryFormatters
Assembly:  Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)

public interface class IDirectoryFormatter

NameDescription
System_CAPS_pubmethodGenerateContentAsync(IOwinContext^, 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.).

Return to top
Show: