netmash/NDB.Infrastructure.PublicIP/DependencyInjectionExtensio...

14 lines
377 B
C#
Raw Normal View History

2019-10-28 23:53:39 +02:00
using Microsoft.Extensions.DependencyInjection;
using NDB.Infrastructure.PublicIP.Services;
namespace NDB.Infrastructure.PublicIP
{
public static class DependencyInjectionExtensions
{
public static void AddPublicIPService(this IServiceCollection services)
{
services.AddHttpClient<IPublicIPService, PublicIPService>();
}
}
}