IdentityBuilder 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
IdentityBuilder(Type, IServiceCollection) |
建立 IdentityBuilder 的新執行個體。 |
IdentityBuilder(Type, Type, IServiceCollection) |
建立 IdentityBuilder 的新執行個體。 |
IdentityBuilder(Type, IServiceCollection)
建立 IdentityBuilder 的新執行個體。
public:
IdentityBuilder(Type ^ user, Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public IdentityBuilder (Type user, Microsoft.Extensions.DependencyInjection.IServiceCollection services);
new Microsoft.AspNetCore.Identity.IdentityBuilder : Type * Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.AspNetCore.Identity.IdentityBuilder
Public Sub New (user As Type, services As IServiceCollection)
參數
- services
- IServiceCollection
要附加至的 IServiceCollection。
適用於
IdentityBuilder(Type, Type, IServiceCollection)
建立 IdentityBuilder 的新執行個體。
public:
IdentityBuilder(Type ^ user, Type ^ role, Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public IdentityBuilder (Type user, Type role, Microsoft.Extensions.DependencyInjection.IServiceCollection services);
new Microsoft.AspNetCore.Identity.IdentityBuilder : Type * Type * Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.AspNetCore.Identity.IdentityBuilder
Public Sub New (user As Type, role As Type, services As IServiceCollection)
參數
- services
- IServiceCollection
要附加至的 IServiceCollection。