public TimelineService(string baseUrl, string authToken, string tenantId, string rootFolder, IWebClientHelper helper) { _helper = helper; _baseUrl = baseUrl; _authToken = authToken; _tenantId = tenantId; if (!string.IsNullOrEmpty(rootFolder)) { CacheFolder = Path.Combine(rootFolder, "cache"); } }
public ImdbService(IWebClientHelper webClientHelper) { this.webClientHelper = webClientHelper; }
public TvMazeWebAccessor(IWebClientHelper webClientHelper, IOptionsSnapshot <AppSettings> optionsSnapshot) { _webClientHelper = webClientHelper; _appSettings = optionsSnapshot.Value; }
//The Unity injector. public ControllerForSearch(IGetDataClass getDataClass, IWebClientHelper webClient, ILogOutToFile logOutToFile) { this.getDataClass = getDataClass; this.webClient = webClient; this.logOutToFile = logOutToFile; }
public InstallerHelper(IWebClientHelper webClientHelper = null) { _webClientHelper = webClientHelper ?? new WebClientHelper(); }
/// <summary> /// The injector for unity. /// </summary> /// <param name="webClient"></param> public GetDataClass(IWebClientHelper webClient) { this.webClient = webClient; }