次の方法で共有


AuthorizationServiceCollectionExtensions.AddAuthorizationCore メソッド

定義

オーバーロード

AddAuthorizationCore(IServiceCollection)

指定した に承認サービスを追加します IServiceCollection

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

指定した に承認サービスを追加します IServiceCollection

AddAuthorizationCore(IServiceCollection)

ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs

指定した に承認サービスを追加します IServiceCollection

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorizationCore (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddAuthorizationCore : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthorizationCore (services As IServiceCollection) As IServiceCollection

パラメーター

services
IServiceCollection

サービスを追加する先の IServiceCollection

戻り値

追加の呼び出しをチェーンできるようにする IServiceCollection

適用対象

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs

指定した に承認サービスを追加します IServiceCollection

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorizationCore (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> configure);
static member AddAuthorizationCore : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthorizationCore (services As IServiceCollection, configure As Action(Of AuthorizationOptions)) As IServiceCollection

パラメーター

services
IServiceCollection

サービスを追加する先の IServiceCollection

configure
Action<AuthorizationOptions>

指定された AuthorizationOptionsを構成するためのアクション デリゲート。

戻り値

追加の呼び出しをチェーンできるようにする IServiceCollection

適用対象