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