refactor(IHttpClientOptions): removed

This commit is contained in:
Developer 02
2024-11-25 10:42:22 +01:00
parent c65eefb954
commit 3b8b315fea
5 changed files with 8 additions and 23 deletions

View File

@@ -19,7 +19,7 @@ namespace DigitalData.Core.Client
public static T Provide<T>() where T : notnull => _lazyProvider.Value.GetRequiredService<T>();
public static IHttpClientService<TOptions> ProvideHttpClientService<TOptions>() where TOptions : IHttpClientOptions
public static IHttpClientService<TOptions> ProvideHttpClientService<TOptions>()
=> _lazyProvider.Value.GetRequiredService<IHttpClientService<TOptions>>();
}
}