protected override UserManager <GuidUser> CreateManager(object context) { if (context == null) { context = CreateTestContext(); } return(MockHelpers.CreateManager(() => new ApplicationUserStore((ApplicationDbContext)context))); }
protected override UserManager <TUser> CreateManager(object context = null) { if (context == null) { context = CreateTestContext(); } return(MockHelpers.CreateManager(() => new UserStore <TUser, TRole, ApplicationDbContext, TKey>((ApplicationDbContext)context))); }
public override UserManager <GuidUser> CreateManager(ApplicationDbContext context) { return(MockHelpers.CreateManager(() => new ApplicationUserStore(context))); }
public static UserManager <IdentityUser> CreateManager(InMemoryContext context) { return(MockHelpers.CreateManager <IdentityUser>(() => new InMemoryUserStore <IdentityUser>(context))); }
public override UserManager <IntUser> CreateManager(ApplicationDbContext context) { return(MockHelpers.CreateManager(() => new UserStore <IntUser, IntRole, ApplicationDbContext, int>(context))); }
public override UserManager <StringUser> CreateManager(ApplicationDbContext context) { return(MockHelpers.CreateManager(() => new UserStore <StringUser, StringRole, ApplicationDbContext, string>(context))); }