public MyHostedService(ILogger <MyHostedService> logger, MyPerfectClass superInterface, ISuperInterface2 superInterface2, IOptions <MySuperSettings> options, IHttpClientFactory httpClientFactory) { this.logger = logger; this.superInterface = superInterface; this.superInterface2 = superInterface2; this.httpClient = httpClientFactory.CreateClient(); this.options = options.Value; }
public MyPerfectTestClass(MyPerfectClass superInterface) { this.superInterface = superInterface; }