public Worker(ILogger <Worker> logger, IConfiguration config, IHostApplicationLifetime lifeTime) { _logger = logger; _config = config.Get <Config>(); _lifeTime = lifeTime; _notifiers = NotifierFactory.CreateFromConfig(config, logger).ToList(); _httpClient = new LsfHttpClientImpl(_config.BaseUrl); }
private static bool Authenticate(LsfHttpClient httpClient) { Console.Write("Please enter your lsf username: "******"Please enter your lsf password: "******"Authentication failed!"); return(false); } return(true); }
public LsfScheduleClient(LsfHttpClient httpClient, EventParser parser) { _httpClient = httpClient; _parser = parser; }
public LsfScheduleClient(LsfHttpClient httpClient) : this(httpClient, new EventParser()) { }
protected WebParser(LsfHttpClient httpClient) { _httpClient = httpClient; }
public GradingParser(LsfHttpClient httpClient) { HttpClient = httpClient; }