IdentitySpecificationTestBase<TUser,TRole,TKey>.AddRoleStore Method

Definition

Adds an IRoleStore to services for the test.

protected abstract void AddRoleStore (Microsoft.Extensions.DependencyInjection.IServiceCollection services, object context = default);
abstract member AddRoleStore : Microsoft.Extensions.DependencyInjection.IServiceCollection * obj -> unit
Protected MustOverride Sub AddRoleStore (services As IServiceCollection, Optional context As Object = Nothing)

Parameters

services
IServiceCollection

The service collection to add to.

context
Object

The context for the store to use, optional.

Applies to