Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 20a24a2

Browse files
committed
React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592 - clean up `using`s
1 parent 9b29eb1 commit 20a24a2

8 files changed

+8
-14
lines changed

shared/Mocks/Facebook/FacebookMockBackChannelHttpHandler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Net.Http;
55
using System.Threading;
66
using System.Threading.Tasks;
7+
using Microsoft.AspNetCore.Http;
78
using Microsoft.AspNetCore.Http.Internal;
89
using Microsoft.AspNetCore.WebUtilities;
910
using MusicStore.Mocks.Common;
@@ -54,5 +55,5 @@ protected async override Task<HttpResponseMessage> SendAsync(HttpRequestMessage
5455
throw new NotImplementedException(request.RequestUri.AbsoluteUri);
5556
}
5657
}
57-
}
58+
}
5859
#endif

shared/Mocks/Google/GoogleMockBackChannelHttpHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using System.Threading;
77
using System.Threading.Tasks;
8-
using Microsoft.AspNetCore.Http.Internal;
8+
using Microsoft.AspNetCore.Http;
99
using Microsoft.AspNetCore.WebUtilities;
1010

1111
namespace MusicStore.Mocks.Google
@@ -53,5 +53,5 @@ protected async override Task<HttpResponseMessage> SendAsync(HttpRequestMessage
5353
throw new NotImplementedException(request.RequestUri.AbsoluteUri);
5454
}
5555
}
56-
}
56+
}
5757
#endif

shared/Mocks/MicrosoftAccount/MicrosoftAccountMockBackChannelHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using System.Threading;
77
using System.Threading.Tasks;
8-
using Microsoft.AspNetCore.Http.Internal;
8+
using Microsoft.AspNetCore.Http;
99
using Microsoft.AspNetCore.WebUtilities;
1010

1111
namespace MusicStore.Mocks.MicrosoftAccount
@@ -54,5 +54,5 @@ protected async override Task<HttpResponseMessage> SendAsync(HttpRequestMessage
5454
throw new NotImplementedException(request.RequestUri.AbsoluteUri);
5555
}
5656
}
57-
}
57+
}
5858
#endif

shared/Mocks/Twitter/TwitterMockBackChannelHttpHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Net.Http;
66
using System.Threading;
77
using System.Threading.Tasks;
8-
using Microsoft.AspNetCore.Http.Internal;
8+
using Microsoft.AspNetCore.Http;
99
using Microsoft.AspNetCore.WebUtilities;
1010

1111
namespace MusicStore.Mocks.Twitter
@@ -65,5 +65,5 @@ protected async override Task<HttpResponseMessage> SendAsync(HttpRequestMessage
6565
throw new NotImplementedException(request.RequestUri.AbsoluteUri);
6666
}
6767
}
68-
}
68+
}
6969
#endif

test/MusicStore.Test/CartSummaryComponentTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Linq;
33
using System.Threading.Tasks;
44
using Microsoft.AspNetCore.Http;
5-
using Microsoft.AspNetCore.Http.Internal;
65
using Microsoft.AspNetCore.Mvc.Rendering;
76
using Microsoft.AspNetCore.Mvc.ViewComponents;
87
using Microsoft.EntityFrameworkCore;

test/MusicStore.Test/CheckoutControllerTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Threading;
66
using System.Threading.Tasks;
77
using Microsoft.AspNetCore.Http;
8-
using Microsoft.AspNetCore.Http.Internal;
98
using Microsoft.AspNetCore.Mvc;
109
using Microsoft.EntityFrameworkCore;
1110
using Microsoft.Extensions.DependencyInjection;

test/MusicStore.Test/ManageControllerTest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
using System.Security.Claims;
44
using System.Threading.Tasks;
55
using Microsoft.AspNetCore.Http;
6-
using Microsoft.AspNetCore.Http.Features;
76
using Microsoft.AspNetCore.Http.Features.Authentication;
8-
using Microsoft.AspNetCore.Http.Features.Authentication.Internal;
9-
using Microsoft.AspNetCore.Http.Internal;
107
using Microsoft.AspNetCore.Identity;
118
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
129
using Microsoft.AspNetCore.Mvc;

test/MusicStore.Test/ShoppingCartControllerTest.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
using Microsoft.AspNetCore.Antiforgery;
77
using Microsoft.AspNetCore.Http;
88
using Microsoft.AspNetCore.Http.Features;
9-
using Microsoft.AspNetCore.Http.Features.Internal;
10-
using Microsoft.AspNetCore.Http.Internal;
119
using Microsoft.AspNetCore.Mvc;
1210
using Microsoft.EntityFrameworkCore;
1311
using Microsoft.Extensions.DependencyInjection;

0 commit comments

Comments
 (0)