DefaultFilesMiddleware Constructor (Func<IDictionary<String, Object>, Task>, DefaultFilesOptions)
Creates a new instance of the DefaultFilesMiddleware.
Namespace: Microsoft.Owin.StaticFiles
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Syntax
public DefaultFilesMiddleware(
Func<IDictionary<string, object>, Task> next,
DefaultFilesOptions options
)
public:
DefaultFilesMiddleware(
Func<IDictionary<String^, Object^>^, Task^>^ next,
DefaultFilesOptions^ options
)
new :
next:Func<IDictionary<string, Object>, Task> *
options:DefaultFilesOptions -> DefaultFilesMiddleware
Public Sub New (
next As Func(Of IDictionary(Of String, Object), Task),
options As DefaultFilesOptions
)
Parameters
next
Type: System.Func<IDictionary<String, Object>, Task>The next middleware in the pipeline.
options
Type: Microsoft.Owin.StaticFiles.DefaultFilesOptionsThe configuration options for this middleware.
See Also
DefaultFilesMiddleware Class
Microsoft.Owin.StaticFiles Namespace
Return to top