public AccountsController(IAccountsServiceEx accountsService, IExecutionContextManager executionContextManager, IDataAccessService dataAccessService, ILoggerService loggerService, ITranslatorsRepository translatorsRepository, IIntegrationIdPRepository integrationIdPRepository, IOptions <AppSettings> appSettings) { if (loggerService is null) { throw new ArgumentNullException(nameof(loggerService)); } if (appSettings is null) { throw new ArgumentNullException(nameof(appSettings)); } _accountsService = accountsService; _executionContextManager = executionContextManager; _dataAccessService = dataAccessService; _translatorsRepository = translatorsRepository; _integrationIdPRepository = integrationIdPRepository; _logger = loggerService.GetLogger(nameof(AccountsController)); _appSettings = appSettings.Value; }
public IdentityProviderController( IExecutionContextManager executionContextManager, IAssetsService assetsService, IDataAccessService dataAccessService, IIdentityAttributesService identityAttributesService, IAccountsServiceEx accountsService, ITranslatorsRepository translatorsRepository, IHubContext <IdentitiesHub> idenitiesHubContext, ILoggerService loggerService) { _executionContextManager = executionContextManager; _assetsService = assetsService; _dataAccessService = dataAccessService; _identityAttributesService = identityAttributesService; _accountsService = accountsService; _translatorsRepository = translatorsRepository; _idenitiesHubContext = idenitiesHubContext; _logger = loggerService.GetLogger(nameof(IdentityProviderController)); }
public ElectionCommitteeService( IDataAccessService dataAccessService, IAccountsService accountsService, IAssetsService assetsService, IIdentityAttributesService identityAttributesService, IIdentityKeyProvidersRegistry identityKeyProvidersRegistry, ITranslatorsRepository translatorsRepository, ISchemeResolverService schemeResolverService, IExecutionContextManager executionContextManager, ILoggerService loggerService) { _dataAccessService = dataAccessService; _accountsService = accountsService; _assetsService = assetsService; _identityAttributesService = identityAttributesService; _identityKeyProvider = identityKeyProvidersRegistry.GetInstance(); _translatorsRepository = translatorsRepository; _schemeResolverService = schemeResolverService; _executionContextManager = executionContextManager; _logger = loggerService.GetLogger(nameof(ElectionCommitteeService)); }
public UtxoConfidentialDataService(ITranslatorsRepository mapperFactory) { _mapperFactory = mapperFactory; }
public RegistryDataService(ITranslatorsRepository translatorsRepository, IHashCalculationsRepository hashCalculationsRepository) { _translatorsRepository = translatorsRepository; _defaultHashCalculation = hashCalculationsRepository.Create(Globals.DEFAULT_HASH); }
public TransactionalChainDataService(ITranslatorsRepository mapperFactory) { _mapperFactory = mapperFactory; }
public SynchronizationDataService(ITranslatorsRepository translatorsRepository) { _translatorsRepository = translatorsRepository; }
public TranslationProxy(Translator defaultTranslator, ITranslatorsRepository translatorsRepository) { DefaultTranslator = defaultTranslator; TranslatorsRepository = translatorsRepository; }