Skip to content

Commit f5816bc

Browse files
authored
Add handler in client constructor (#182)
1 parent 8888be8 commit f5816bc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Common/AzureRest/AzureRestClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Collections.Generic;
66
using System.Net.Http;
77

8-
namespace Microsoft.WindowsAzure.Commands.Common.AzureRest
8+
namespace Microsoft.Azure.Internal.Common
99
{
1010
public partial class AzureRestClient : ServiceClient<AzureRestClient>, IAzureRestClient, IAzureClient
1111
{
@@ -33,7 +33,7 @@ public partial class AzureRestClient : ServiceClient<AzureRestClient>, IAzureRes
3333

3434
public bool EndsWithSlash { get; private set; }
3535

36-
protected AzureRestClient(params DelegatingHandler[] handlers)
36+
protected AzureRestClient(params DelegatingHandler[] handlers) : base(handlers)
3737
{
3838
Initialize();
3939
}

src/Common/AzureRest/AzureRestOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using System.Threading;
99
using System.Threading.Tasks;
1010

11-
namespace Microsoft.WindowsAzure.Commands.Common.AzureRest
11+
namespace Microsoft.Azure.Internal.Common
1212
{
1313
internal partial class AzureRestOperations : IServiceOperations<AzureRestClient>, IAzureRestOperations
1414
{

src/Common/AzureRest/IAzureRestClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Microsoft.WindowsAzure.Commands.Common.AzureRest
3+
namespace Microsoft.Azure.Internal.Common
44
{
55
public partial interface IAzureRestClient : IDisposable
66
{

src/Common/AzureRest/IAzureRestOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Threading;
66
using System.Threading.Tasks;
77

8-
namespace Microsoft.WindowsAzure.Commands.Common.AzureRest
8+
namespace Microsoft.Azure.Internal.Common
99
{
1010
/// <summary>
1111
/// AzureRest operations.

0 commit comments

Comments
 (0)