共用方式為


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)

來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
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>>>>)

來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
OwinExtensions.cs
來源:
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

適用於