Exemple #1
0
 public AccessManagerService(ISecurLibService securLib,
                             IConfiguration configuration, IAutorizationManagerService autorizationManagerService, HellsGateContext context)
 {
     _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _securLib      = securLib ?? throw new ArgumentNullException(nameof(securLib));
     _autorizationManagerService = autorizationManagerService ?? throw new ArgumentNullException(nameof(autorizationManagerService));
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemple #2
0
 public PersonService(ISecurLibService securLib, IMenuService menuService, IPersonToPersonReadModelConverter personToPersonReadModelConverter, IPersonCreateModelToPersonModelConverter personCreateModelToPersonModelConverter, HellsGateContext context)
 {
     _personToPersonReadModelConverter        = personToPersonReadModelConverter ?? throw new ArgumentNullException(nameof(personToPersonReadModelConverter));
     _personCreateModelToPersonModelConverter = personCreateModelToPersonModelConverter ?? throw new ArgumentNullException(nameof(personCreateModelToPersonModelConverter));
     _context     = context ?? throw new ArgumentNullException(nameof(context));
     _securLib    = securLib ?? throw new ArgumentNullException(nameof(securLib));
     _menuService = menuService ?? throw new ArgumentNullException(nameof(menuService));
 }
Exemple #3
0
 public MenuService(HellsGateContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemple #4
0
 public CardService(ISecurLibService securLib, HellsGateContext context, ICardCreateModelToCardConverter cardCreateModelToCardConverter)
 {
     _securLib = securLib ?? throw new ArgumentNullException(nameof(securLib));
     _context  = context ?? throw new ArgumentNullException(nameof(context));
     _cardCreateModelToCardConverter = cardCreateModelToCardConverter ?? throw new ArgumentNullException(nameof(cardCreateModelToCardConverter));
 }
Exemple #5
0
        public NodeService(HellsGateContext context, IOptions <AppSettings> appSettings)
        {
            _context = context ?? throw new ArgumentNullException(nameof(context));

            _appSettings = appSettings.Value ?? throw new ArgumentNullException(nameof(appSettings));;
        }
Exemple #6
0
 public AutorizationManagerService(ISecurLibService securLib, HellsGateContext context)
 {
     _securLib = securLib ?? throw new ArgumentNullException(nameof(securLib));
     _context  = context ?? throw new ArgumentNullException(nameof(context));
 }