コード例 #1
0
 public ApplicationService(IApplicationRepository applicationRepository, ISsoService ssoService, IMapper mapper, IDomainNotification domainNotification)
 {
     _applicationRepository = applicationRepository;
     _ssoService            = ssoService;
     _mapper             = mapper;
     _domainNotification = domainNotification;
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="accessGroupRepository"></param>
 /// <param name="misService"></param>
 /// <param name="logger"></param>
 public AccessGroupService(IAccessGroupRepository accessGroupRepository, IMisService misService,
                           ILogger <AccessGroupService> logger, ISsoService ISsoService)
 {
     _ISsoService = ISsoService ??
                    throw new ArgumentNullException(nameof(ISsoService));
     _accessGroupRepository = accessGroupRepository ??
                              throw new ArgumentNullException(nameof(accessGroupRepository));
     _misService = misService ?? throw new ArgumentNullException(nameof(misService));
     _logger     = logger ?? throw new ArgumentNullException(nameof(logger));
 }
コード例 #3
0
 public ApplicationController(ISsoService ssoService, ILogger <ApplicationController> logger)
 {
     _ssoService = ssoService ?? throw new ArgumentNullException(nameof(ssoService));
     _logger     = logger ?? throw new ArgumentNullException(nameof(logger));
 }
コード例 #4
0
 public CustomAuthorization(ISsoService ssoService, IHttpContextAccessor httpContextAccessor)
 {
     _ssoService          = ssoService ?? throw new ArgumentNullException(nameof(ssoService));
     _httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor));
 }
コード例 #5
0
 public ModuleService(IModuleRepository moduleRepository, ILogger <ModuleService> logger, ISsoService ssoService)
 {
     _moduleRepository = moduleRepository ?? throw new ArgumentNullException(nameof(moduleRepository));
     _ssoService       = ssoService ?? throw new ArgumentNullException(nameof(ssoService));
     _logger           = logger ?? throw new ArgumentNullException(nameof(logger));
 }