/// <summary> /// Initializes a new instance of the <see cref="StoryService" /> class. /// </summary> /// <param name="usernameUpdateSender">The username update sender.</param> /// <param name="httpClientFactory">The HTTP client factory.</param> /// <param name="servicesConfig">The services configuration.</param> /// <param name="logger">The logger.</param> public UserService( IUsernameUpdateSender usernameUpdateSender, IHttpClientFactory httpClientFactory, ServicesConfig servicesConfig, ILogger logger) { this.usernameUpdateSender = usernameUpdateSender; this.httpClientFactory = httpClientFactory; this.servicesConfig = servicesConfig; this.logger = logger; }