예제 #1
0
 public IdentityRoleStore_Tests()
 {
     _identityRoleStore      = GetRequiredService <IdentityRoleStore>();
     _lookupNormalizer       = GetRequiredService <ILookupNormalizer>();
     _identityRoleRepository = GetRequiredService <IIdentityRoleRepository>();
     _testData          = GetRequiredService <IdentityTestData>();
     _unitOfWorkManager = GetRequiredService <IUnitOfWorkManager>();
 }
 public IdentityRoleManager(
     IdentityRoleStore store,
     IEnumerable <IRoleValidator <IdentityRole> > roleValidators,
     ILookupNormalizer keyNormalizer,
     IdentityErrorDescriber errors,
     ILogger <IdentityRoleManager> logger)
     : base(
         store,
         roleValidators,
         keyNormalizer,
         errors,
         logger)
 {
 }
예제 #3
0
 public IdentityRoleManager(
     IdentityRoleStore store,
     IEnumerable <IRoleValidator <IdentityRole> > roleValidators,
     ILookupNormalizer keyNormalizer,
     IdentityErrorDescriber errors,
     ILogger <IdentityRoleManager> logger,
     ICancellationTokenProvider cancellationTokenProvider)
     : base(
         store,
         roleValidators,
         keyNormalizer,
         errors,
         logger)
 {
     _cancellationTokenProvider = cancellationTokenProvider;
 }