Пример #1
0
 /// <summary>
 /// Creates a new instance of an Importer class, initializes it with the specified arguments.
 /// </summary>
 /// <param name="options"></param>
 /// <param name="client"></param>
 /// <param name="logger"></param>
 public Importer(IOptionsMonitor <ToolOptions> options, IKeycloakRequestClient client, ILogger <Importer> logger)
 {
     _options = options.CurrentValue;
     _client  = client;
     _logger  = logger;
 }
Пример #2
0
 /// <summary>
 /// Creates a new instance of a Startup class, initializes it with the specified arguments.
 /// </summary>
 /// <param name="optionsTool"></param>
 /// <param name="importer"></param>
 /// <param name="logger"></param>
 public Startup(IOptionsMonitor <ToolOptions> optionsTool, IImporter importer, ILogger <Startup> logger)
 {
     _config   = optionsTool.CurrentValue;
     _logger   = logger;
     _importer = importer;
 }