SendFileMiddleware Constructor
Creates a new instance of the SendFileMiddleware.
Namespace: Microsoft.Owin.StaticFiles
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Syntax
'Declaration
Public Sub New ( _
next As Func(Of IDictionary(Of String, Object), Task) _
)
'Usage
Dim next As Func(Of IDictionary(Of String, Object), Task)
Dim instance As New SendFileMiddleware(next)
public SendFileMiddleware(
Func<IDictionary<string, Object>, Task> next
)
public:
SendFileMiddleware(
Func<IDictionary<String^, Object^>^, Task^>^ next
)
new :
next:Func<IDictionary<string, Object>, Task> -> SendFileMiddleware
public function SendFileMiddleware(
next : Func<IDictionary<String, Object>, Task>
)
Parameters
- next
Type: System.Func<IDictionary<String, Object>, Task>
The next middleware in the pipeline.