Moved using statements to globalusing Devspaces

This commit is contained in:
Sumit Ghosh 2021-10-13 18:09:11 +05:30
parent 4ef6c63bdd
commit 2276c46027
3 changed files with 24 additions and 37 deletions

View File

@ -1,11 +1,5 @@
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Devspaces.Support;
namespace Devspaces.Support
{
public class DevspacesMessageHandler : DelegatingHandler
{
private const string DevspacesHeaderName = "azds-route-as";
@ -26,4 +20,3 @@ namespace Devspaces.Support
return base.SendAsync(request, cancellationToken);
}
}
}

View File

@ -1,7 +1,5 @@
using Microsoft.Extensions.DependencyInjection;
namespace Devspaces.Support;
namespace Devspaces.Support
{
public static class HttpClientBuilderDevspacesExtensions
{
public static IHttpClientBuilder AddDevspacesSupport(this IHttpClientBuilder builder)
@ -10,4 +8,3 @@ namespace Devspaces.Support
return builder;
}
}
}

View File

@ -1,7 +1,5 @@
using Microsoft.Extensions.DependencyInjection;
namespace Devspaces.Support;
namespace Devspaces.Support
{
public static class ServiceCollectionDevspacesExtensions
{
public static IServiceCollection AddDevspaces(this IServiceCollection services)
@ -10,4 +8,3 @@ namespace Devspaces.Support
return services;
}
}
}