revert: IHttpClientOptions entfernen

This commit is contained in:
Developer 02
2024-11-25 11:03:15 +01:00
parent 52a7664e57
commit f602a842be
4 changed files with 22 additions and 7 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>()
public static IHttpClientService<TOptions> ProvideHttpClientService<TOptions>() where TOptions : IHttpClientOptions
=> _lazyProvider.Value.GetRequiredService<IHttpClientService<TOptions>>();
}
}