fix: Suppress trim warning for ServiceCollectionExtensions
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Net.Http;
|
||||
|
||||
using JetBrains.Annotations;
|
||||
@@ -43,6 +44,7 @@ public static class ServiceCollectionExtensions
|
||||
/// <param name="serviceCollection">The service collection in which to register the services.</param>
|
||||
/// <param name="configuration">The configuration to which to bind options models.</param>
|
||||
/// <returns>The <see cref="IHttpClientBuilder"/> for the <see cref="HttpClient"/> used by <see cref="INordigenClient"/>.</returns>
|
||||
[UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026", Justification = $"{nameof(NordigenOptions)} contains only system types.")]
|
||||
public static IHttpClientBuilder AddNordigenDotNet(
|
||||
this IServiceCollection serviceCollection,
|
||||
IConfiguration configuration)
|
||||
|
||||
Reference in New Issue
Block a user