次の方法で共有


PolicyServiceCollectionExtensions.AddAuthorizationBuilder メソッド

定義

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

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

パラメーター

services
IServiceCollection

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

戻り値

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

適用対象