File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
src/Common/Commands.Common.Authentication Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 149
149
<Compile Include =" Interfaces\IClientFactory.cs" />
150
150
<Compile Include =" Interfaces\IDataStore.cs" />
151
151
<Compile Include =" Interfaces\IProfileSerializer.cs" />
152
+ <Compile Include =" LegacySupport.cs" />
152
153
<Compile Include =" Models\AzureAccount.cs" />
153
154
<Compile Include =" Models\AzureAccount.Methods.cs" />
154
155
<Compile Include =" Models\AzureContext.cs" />
Original file line number Diff line number Diff line change
1
+ // ----------------------------------------------------------------------------------
2
+ //
3
+ // Copyright Microsoft Corporation
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ // ----------------------------------------------------------------------------------
14
+
15
+ using Microsoft . Azure . Commands . Common . Authentication ;
16
+
17
+ namespace Microsoft . Azure . Common . Authentication
18
+ {
19
+ /// <summary>
20
+ /// Provide backward compatibility for setting User Agent values
21
+ /// </summary>
22
+ public static class AzureSession
23
+ {
24
+ /// <summary>
25
+ /// The ClientFactory used to produce management clients in this session
26
+ /// </summary>
27
+ public static IClientFactory ClientFactory
28
+ {
29
+ get { return Commands . Common . Authentication . AzureSession . ClientFactory ; }
30
+ }
31
+ }
32
+ }
You can’t perform that action at this time.
0 commit comments