Skip to content

Commit e4f56f1

Browse files
author
Hao Chen
committed
Fixed namespaces for CLU projects.
1 parent 2d3254c commit e4f56f1

File tree

68 files changed

+93
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+93
-97
lines changed

src/CLU/Commands.Common.Authentication/Authentication/AadAuthenticationException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using System;
1616

17-
namespace Microsoft.Azure.Common.Authentication
17+
namespace Microsoft.Azure.Commands.Common.Authentication
1818
{
1919
/// <summary>
2020
/// Base class representing an exception that occurs when

src/CLU/Commands.Common.Authentication/Authentication/AccessTokenCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Threading;
2020
using System.Threading.Tasks;
2121

22-
namespace Microsoft.Azure.Common.Authentication
22+
namespace Microsoft.Azure.Commands.Common.Authentication
2323
{
2424
public class AccessTokenCredential : ServiceClientCredentials
2525
{

src/CLU/Commands.Common.Authentication/Authentication/AdalConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.IdentityModel.Clients.ActiveDirectory;
1616
using System;
1717

18-
namespace Microsoft.Azure.Common.Authentication
18+
namespace Microsoft.Azure.Commands.Common.Authentication
1919
{
2020
/// <summary>
2121
/// Class storing the configuration information needed

src/CLU/Commands.Common.Authentication/Authentication/AdalTokenProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using System;
1717
using Commands.Common.Authentication.Properties;
1818

19-
namespace Microsoft.Azure.Common.Authentication
19+
namespace Microsoft.Azure.Commands.Common.Authentication
2020
{
2121
/// <summary>
2222
/// A token provider that uses ADAL to retrieve

src/CLU/Commands.Common.Authentication/Authentication/CertificateApplicationCredentialProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Security.Cryptography.X509Certificates;
2020
using System.Threading.Tasks;
2121

22-
namespace Microsoft.Azure.Common.Authentication
22+
namespace Microsoft.Azure.Commands.Common.Authentication
2323
{
2424
/// <summary>
2525
/// Interface to the certificate store for authentication

src/CLU/Commands.Common.Authentication/Authentication/IAccessToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using System;
1616

17-
namespace Microsoft.Azure.Common.Authentication
17+
namespace Microsoft.Azure.Commands.Common.Authentication
1818
{
1919
public interface IAccessToken
2020
{

src/CLU/Commands.Common.Authentication/Authentication/ITokenProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using System.Security;
1717

18-
namespace Microsoft.Azure.Common.Authentication
18+
namespace Microsoft.Azure.Commands.Common.Authentication
1919
{
2020
/// <summary>
2121
/// This interface represents objects that can be used

src/CLU/Commands.Common.Authentication/Authentication/KeyStoreApplicationCredentialProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Security;
1818
using System.Threading.Tasks;
1919

20-
namespace Microsoft.Azure.Common.Authentication
20+
namespace Microsoft.Azure.Commands.Common.Authentication
2121
{
2222
/// <summary>
2323
/// Interface to the keystore for authentication

src/CLU/Commands.Common.Authentication/Authentication/LoginType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Common.Authentication
15+
namespace Microsoft.Azure.Commands.Common.Authentication
1616
{
1717
public enum LoginType
1818
{

src/CLU/Commands.Common.Authentication/Authentication/ServicePrincipalTokenProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using Microsoft.IdentityModel.Clients.ActiveDirectory;
1717
using Microsoft.Rest;
1818
using System;
@@ -21,7 +21,7 @@
2121
using System.Security.Cryptography.X509Certificates;
2222
using Commands.Common.Authentication.Properties;
2323

24-
namespace Microsoft.Azure.Common.Authentication
24+
namespace Microsoft.Azure.Commands.Common.Authentication
2525
{
2626
internal class ServicePrincipalTokenProvider : ITokenProvider
2727
{

src/CLU/Commands.Common.Authentication/Authentication/ShowDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Common.Authentication
15+
namespace Microsoft.Azure.Commands.Common.Authentication
1616
{
1717
public enum ShowDialog
1818
{

src/CLU/Commands.Common.Authentication/Authentication/UserTokenProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using Microsoft.IdentityModel.Clients.ActiveDirectory;
1717
using Microsoft.Rest;
1818
using System;
1919
using System.Runtime.InteropServices;
2020
using Commands.Common.Authentication.Properties;
2121
using Microsoft.Rest.Azure.Authentication;
2222

23-
namespace Microsoft.Azure.Common.Authentication
23+
namespace Microsoft.Azure.Commands.Common.Authentication
2424
{
2525
/// <summary>
2626
/// A token provider that uses ADAL to retrieve

src/CLU/Commands.Common.Authentication/AuthenticationFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using System;
1717
using System.Linq;
1818
using System.Management.Automation;
@@ -22,7 +22,7 @@
2222
using Microsoft.Rest;
2323
using Microsoft.Rest.Azure.Authentication;
2424

25-
namespace Microsoft.Azure.Common.Authentication.Factories
25+
namespace Microsoft.Azure.Commands.Common.Authentication.Factories
2626
{
2727
public class AuthenticationFactory : IAuthenticationFactory
2828
{

src/CLU/Commands.Common.Authentication/AzureModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Common.Authentication
15+
namespace Microsoft.Azure.Commands.Common.Authentication
1616
{
1717
public enum AzureModule
1818
{

src/CLU/Commands.Common.Authentication/ClientFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using Microsoft.Rest;
1717
using System;
1818
using System.Collections.Generic;
@@ -25,7 +25,7 @@
2525
using System.Reflection;
2626
using Commands.Common.Authentication.Properties;
2727

28-
namespace Microsoft.Azure.Common.Authentication.Factories
28+
namespace Microsoft.Azure.Commands.Common.Authentication.Factories
2929
{
3030
public class ClientFactory : IClientFactory
3131
{

src/CLU/Commands.Common.Authentication/CloudExceptionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using Microsoft.Rest;
1717
using System.Linq;
1818

19-
namespace Microsoft.Azure.Common
19+
namespace Microsoft.Azure.Commands.Common
2020
{
2121
public static class HttpOperationExceptionExtensions
2222
{

src/CLU/Commands.Common.Authentication/DictionaryExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Collections.Generic;
1717
using System.Linq;
1818

19-
namespace Microsoft.Azure.Common.Authentication.Utilities
19+
namespace Microsoft.Azure.Commands.Common
2020
{
2121
public static class DictionaryExtensions
2222
{

src/CLU/Commands.Common.Authentication/IAuthenticationFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using Microsoft.IdentityModel.Clients.ActiveDirectory;
1717
using Microsoft.Rest;
1818
using System.Security;
1919

20-
namespace Microsoft.Azure.Common.Authentication
20+
namespace Microsoft.Azure.Commands.Common.Authentication
2121
{
2222
public interface IAuthenticationFactory
2323
{

src/CLU/Commands.Common.Authentication/IClientFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using Microsoft.Rest;
1717
using System;
1818
using System.Collections.Generic;
1919
using System.Net;
2020
using System.Net.Http;
2121
using System.Net.Http.Headers;
2222

23-
namespace Microsoft.Azure.Common.Authentication
23+
namespace Microsoft.Azure.Commands.Common.Authentication
2424
{
2525
public interface IClientFactory
2626
{

src/CLU/Commands.Common.Authentication/IDataStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Security.Cryptography.X509Certificates;
1717
using System.Text;
1818

19-
namespace Microsoft.Azure.Common.Authentication
19+
namespace Microsoft.Azure.Commands.Common.Authentication
2020
{
2121
public interface IDataStore
2222
{

src/CLU/Commands.Common.Authentication/IProfileSerializer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Models;
15+
using Microsoft.Azure.Commands.Common.Authentication.Models;
1616
using System.Collections.Generic;
1717

18-
namespace Microsoft.Azure.Common.Authentication
18+
namespace Microsoft.Azure.Commands.Common.Authentication
1919
{
2020
public interface IProfileSerializer
2121
{

src/CLU/Commands.Common.Authentication/JsonUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Diagnostics.CodeAnalysis;
2020
using Commands.Common.Authentication.Properties;
2121

22-
namespace Microsoft.Azure.Common.Authentication
22+
namespace Microsoft.Azure.Commands.Common.Authentication
2323
{
2424
public static class JsonUtilities
2525
{

src/CLU/Commands.Common.Authentication/Models/AzureAccount.Methods.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Utilities;
15+
using Microsoft.Azure.Commands.Common;
1616
using System;
1717
using System.Collections.Generic;
1818
using System.Diagnostics;
1919
using System.Linq;
2020

21-
namespace Microsoft.Azure.Common.Authentication.Models
21+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
2222
{
2323
public partial class AzureAccount
2424
{

src/CLU/Commands.Common.Authentication/Models/AzureAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System;
1616
using System.Collections.Generic;
1717

18-
namespace Microsoft.Azure.Common.Authentication.Models
18+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1919
{
2020
public partial class AzureAccount
2121
{

src/CLU/Commands.Common.Authentication/Models/AzureContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Newtonsoft.Json;
1616
using System;
1717

18-
namespace Microsoft.Azure.Common.Authentication.Models
18+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1919
{
2020
/// <summary>
2121
/// Represents current Azure session context.

src/CLU/Commands.Common.Authentication/Models/AzureEnvironment.Methods.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Utilities;
1615
using System;
1716
using System.Collections.Generic;
1817
using Commands.Common.Authentication.Properties;
1918

20-
namespace Microsoft.Azure.Common.Authentication.Models
19+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
2120
{
2221
public partial class AzureEnvironment
2322
{

src/CLU/Commands.Common.Authentication/Models/AzureEnvironment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System;
1616
using System.Collections.Generic;
1717

18-
namespace Microsoft.Azure.Common.Authentication.Models
18+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1919
{
2020
public partial class AzureEnvironment
2121
{

src/CLU/Commands.Common.Authentication/Models/AzureRMProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Collections.Generic;
1818
using System.Diagnostics;
1919

20-
namespace Microsoft.Azure.Common.Authentication.Models
20+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
2121
{
2222
/// <summary>
2323
/// Represents Azure Resource Manager profile structure with default context, environments and token cache.

src/CLU/Commands.Common.Authentication/Models/AzureSMProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Linq;
2020
using Commands.Common.Authentication.Properties;
2121

22-
namespace Microsoft.Azure.Common.Authentication.Models
22+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
2323
{
2424
/// <summary>
2525
/// Represents Azure profile structure with multiple environments, subscriptions, and accounts.

src/CLU/Commands.Common.Authentication/Models/AzureSubscription.Methods.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authentication.Utilities;
1615
using System.Collections.Generic;
1716

18-
namespace Microsoft.Azure.Common.Authentication.Models
17+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1918
{
2019
public partial class AzureSubscription
2120
{

src/CLU/Commands.Common.Authentication/Models/AzureSubscription.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System;
1616
using System.Collections.Generic;
1717

18-
namespace Microsoft.Azure.Common.Authentication.Models
18+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1919
{
2020
public partial class AzureSubscription
2121
{

src/CLU/Commands.Common.Authentication/Models/AzureTenant.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using System;
1616

17-
namespace Microsoft.Azure.Common.Authentication.Models
17+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1818
{
1919
/// <summary>
2020
/// Represents an AD tenant.

src/CLU/Commands.Common.Authentication/Models/DiskDataStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Text;
1919
using Commands.Common.Authentication.Properties;
2020

21-
namespace Microsoft.Azure.Common.Authentication.Models
21+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
2222
{
2323
public class DiskDataStore : IDataStore
2424
{

src/CLU/Commands.Common.Authentication/Models/IAzureProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Common.Authentication.Models
15+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1616
{
1717
/// <summary>
1818
/// Interface for Azure supported profiles.

src/CLU/Commands.Common.Authentication/Models/IClientAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using Microsoft.Rest;
1616

17-
namespace Microsoft.Azure.Common.Authentication.Models
17+
namespace Microsoft.Azure.Commands.Common.Authentication.Models
1818
{
1919
public interface IClientAction
2020
{

0 commit comments

Comments
 (0)