OwinExtensions.UseOwin 方法

定义

重载

UseOwin(IApplicationBuilder)

将 OWIN 管道添加到指定的 IApplicationBuilder

UseOwin(IApplicationBuilder, Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>)

将 OWIN 中间件管道添加到指定的 IApplicationBuilder

UseOwin(IApplicationBuilder)

Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs

将 OWIN 管道添加到指定的 IApplicationBuilder

public:
[System::Runtime::CompilerServices::Extension]
 static Action<Func<Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^, Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^> ^> ^ UseOwin(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder);
public static Action<Func<Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>,Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>>> UseOwin (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseOwin : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Action<Func<Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>, Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>>>
<Extension()>
Public Function UseOwin (builder As IApplicationBuilder) As Action(Of Func(Of Func(Of IDictionary(Of String, Object), Task), Func(Of IDictionary(Of String, Object), Task)))

参数

builder
IApplicationBuilder

IApplicationBuilder要向其添加管道的 。

返回

用于创建 OWIN 管道的操作。

适用于

UseOwin(IApplicationBuilder, Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>)

Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs

将 OWIN 中间件管道添加到指定的 IApplicationBuilder

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOwin(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder, Action<Action<Func<Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^, Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^> ^> ^> ^ pipeline);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOwin (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Action<Action<Func<Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>,Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>>>> pipeline);
static member UseOwin : Microsoft.AspNetCore.Builder.IApplicationBuilder * Action<Action<Func<Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>, Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>>>> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOwin (builder As IApplicationBuilder, pipeline As Action(Of Action(Of Func(Of Func(Of IDictionary(Of String, Object), Task), Func(Of IDictionary(Of String, Object), Task))))) As IApplicationBuilder

参数

builder
IApplicationBuilder

IApplicationBuilder 向其添加中间件的 。

pipeline
Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>

可以指定 OWIN 管道的委托。

返回

原始 IApplicationBuilder

适用于