예제 #1
0
 public FileService(ExperienceManagementDbContext context, IOptionsSnapshot <SiteSettings> siteSettings)
 {
     _context = context;
     _context.CheckArgumentIsNull(nameof(_context));
     _siteSettings = siteSettings;
     _siteSettings.CheckArgumentIsNull(nameof(_siteSettings));
 }
예제 #2
0
 public UsersService(ISecurityService securityService, ExperienceManagementDbContext context)
 {
     _securityService = securityService;
     _securityService.CheckArgumentIsNull(nameof(_securityService));
     _context = context;
     _context.CheckArgumentIsNull(nameof(_context));
 }
예제 #3
0
        public TokenStoreService(
            ExperienceManagementDbContext uow,
            ISecurityService securityService,
            IRolesService rolesService,
            IOptionsSnapshot <BearerTokensOptions> configuration)
        {
            _uow = uow;
            _uow.CheckArgumentIsNull(nameof(_uow));

            _securityService = securityService;
            _securityService.CheckArgumentIsNull(nameof(_securityService));

            _rolesService = rolesService;
            _rolesService.CheckArgumentIsNull(nameof(rolesService));

            _tokens = _uow.Set <UserToken>();

            _configuration = configuration;
            _configuration.CheckArgumentIsNull(nameof(configuration));
        }
 public OrganizationService(ExperienceManagementDbContext context)
 {
     _context = context;
     _context.CheckArgumentIsNull(nameof(_context));
 }
예제 #5
0
 public ReportService(ExperienceManagementDbContext context)
 {
     _context = context;
     _context.CheckArgumentIsNull(nameof(_context));
 }
예제 #6
0
 public GroupAuthenticationService(ExperienceManagementDbContext context)
 {
     _context = context;
     _context.CheckArgumentIsNull(nameof(_context));
 }