UserManagerSpecificationTestBase<TUser,TKey>.AddUserStore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an IUserStore to services for the test.
protected abstract void AddUserStore (Microsoft.Extensions.DependencyInjection.IServiceCollection services, object context = default);
abstract member AddUserStore : Microsoft.Extensions.DependencyInjection.IServiceCollection * obj -> unit
Protected MustOverride Sub AddUserStore (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.