IDirectoryFormatter Interface
Generates the view for a directory
Namespace: Microsoft.Owin.StaticFiles.DirectoryFormatters
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Syntax
public interface IDirectoryFormatter
public interface class IDirectoryFormatter
type IDirectoryFormatter = interface end
Public Interface IDirectoryFormatter
Methods
Name | Description | |
---|---|---|
![]() |
GenerateContentAsync(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.). |
See Also
Microsoft.Owin.StaticFiles.DirectoryFormatters Namespace
Return to top