14 references to AddRoles
Identity.DefaultUI.WebSite (1)
StartupBase.cs (1)
43.AddRoles<IdentityRole>()
IdentitySample.DefaultUI (1)
Startup.cs (1)
46.AddRoles<IdentityRole>()
IdentitySample.Mvc (1)
Startup.cs (1)
38.AddRoles<IdentityRole>()
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
SqlStoreTestBase.cs (1)
41.AddRoles<TRole>()
UserStoreGuidKeyTest.cs (1)
78var builder = services.AddIdentityCore<IdentityUser<Guid>>().AddRoles<IdentityRole<Guid>>().AddEntityFrameworkStores<TestDbContext>();
UserStoreIntKeyTest.cs (1)
56var builder = services.AddIdentityCore<IdentityUser<int>>().AddRoles<IdentityRole<int>>().AddEntityFrameworkStores<TestDbContext>();
UserStoreStringKeyTest.cs (1)
57var builder = services.AddIdentityCore<IdentityUser<string>>().AddRoles<IdentityRole<string>>().AddEntityFrameworkStores<TestDbContext>();
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
382.AddRoles<PocoRole>()
Microsoft.AspNetCore.Identity.Specification.Tests (1)
IdentitySpecificationTestBase.cs (1)
68builder.AddRoles<TRole>();
Microsoft.AspNetCore.Identity.Test (3)
IdentityBuilderTest.cs (3)
18.AddRoles<PocoRole>() 46.AddRoles<PocoRole>(); 225.AddRoles<PocoRole>()
Microsoft.Extensions.Identity.Core (2)
IdentityServiceCollectionExtensions.cs (2)
17/// by default but can be added with <see cref="IdentityBuilder.AddRoles{TRole}"/>. 27/// but can be added with <see cref="IdentityBuilder.AddRoles{TRole}"/>.