File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/ServiceManagement/Services/Commands.Test/Profile Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 16
16
using System ;
17
17
using System . Collections . Generic ;
18
18
using System . Net ;
19
+ using System . Net . Http ;
19
20
using System . Threading . Tasks ;
21
+ using Hyak . Common ;
22
+ using Microsoft . Azure . Subscriptions . Rdfe ;
20
23
21
24
namespace Microsoft . WindowsAzure . Commands . Test . Profile
22
25
{
@@ -31,6 +34,16 @@ public IList<String> ReturnedSubscriptions
31
34
set { this . _subscriptions = value ; }
32
35
}
33
36
37
+ protected override SubscriptionClient WithHandler ( ServiceClient < SubscriptionClient > newClient , DelegatingHandler handler )
38
+ {
39
+ return newClient as SubscriptionClient ;
40
+ }
41
+
42
+ public override SubscriptionClient WithHandler ( DelegatingHandler handler )
43
+ {
44
+ return this ;
45
+ }
46
+
34
47
public override Microsoft . Azure . Subscriptions . Rdfe . ISubscriptionOperations Subscriptions
35
48
{
36
49
get { return MockRdfeSubscriptionOperations . Create ( this . ReturnedSubscriptions , this . Tenant ) ; }
@@ -128,6 +141,11 @@ public override Azure.Subscriptions.Csm.ITenantOperations Tenants
128
141
return MockCsmTenantOperations . Create ( this . ReturnedTenants ) ;
129
142
}
130
143
}
144
+
145
+ public override Azure . Subscriptions . Csm . SubscriptionClient WithHandler ( DelegatingHandler handler )
146
+ {
147
+ return this ;
148
+ }
131
149
}
132
150
133
151
public class MockCsmTenantOperations : Microsoft . Azure . Subscriptions . Csm . ITenantOperations
You can’t perform that action at this time.
0 commit comments