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