Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Azure.Configuration\Azure.Configuration.csproj" />
<ProjectReference Include="..\..\..\Azure.Core\data-plane\Azure.Core\Azure.Core.csproj" />
<ProjectReference Include="..\..\..\Azure.Core\data-plane\Azure.Core.Tests\Azure.Core.Tests.csproj" />
<ProjectReference Include="..\..\..\Azure.Base\data-plane\Azure.Base\Azure.Base.csproj" />
<ProjectReference Include="..\..\..\Azure.Base\data-plane\Azure.Base.Tests\Azure.Base.Tests.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core;
using Azure.Base;
using NUnit.Framework;
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.Testing;
using Azure.Core;
using Azure.Core.Http;
using Azure.Base.Testing;
using Azure.Base;
using Azure.Base.Http;
using System.Buffers;
using Azure.Core.Http.Pipeline;
using Azure.Base.Http.Pipeline;
using Azure.ApplicationModel.Configuration.Test;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core.Http;
using Azure.Core.Http.Pipeline;
using Azure.Base.Http;
using Azure.Base.Http.Pipeline;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core;
using Azure.Base;
using NUnit.Framework;
using System;
using System.Diagnostics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core.Http;
using Azure.Core.Http.Pipeline;
using Azure.Base.Http;
using Azure.Base.Http.Pipeline;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core.Http;
using Azure.Core.Http.Pipeline;
using Azure.Base.Http;
using Azure.Base.Http.Pipeline;
using NUnit.Framework;
using System;
using System.Net.Http;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Configuration", "Azur
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Configuration.Tests", "Azure.Configuration.Tests\Azure.Configuration.Tests.csproj", "{AAA761F4-D037-46AC-BF7A-496C15310F66}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "..\..\Azure.Core\data-plane\Azure.Core\Azure.Core.csproj", "{019A28FC-EFEA-4431-872C-AB8F9C0049BF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Base", "..\..\Azure.Base\data-plane\Azure.Base\Azure.Base.csproj", "{019A28FC-EFEA-4431-872C-AB8F9C0049BF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.Tests", "..\..\Azure.Core\data-plane\Azure.Core.Tests\Azure.Core.Tests.csproj", "{84491222-6C36-4FA7-BBAE-1FA804129151}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Base.Tests", "..\..\Azure.Base\data-plane\Azure.Base.Tests\Azure.Base.Tests.csproj", "{84491222-6C36-4FA7-BBAE-1FA804129151}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Azure.Core\data-plane\Azure.Core\Azure.Core.csproj" />
<ProjectReference Include="..\..\..\Azure.Base\data-plane\Azure.Base\Azure.Base.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core;
using Azure.Core.Http;
using Azure.Base;
using Azure.Base.Http;
using System;
using System.Net.Http;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core;
using Azure.Core.Http;
using Azure.Base;
using Azure.Base.Http;
using System;
using System.ComponentModel;
using System.Diagnostics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core;
using Azure.Base;
using System;
using System.Buffers;
using System.Buffers.Text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core;
using Azure.Base;
using System;
using System.Collections.Generic;
using System.Diagnostics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for
// license information.

using Azure.Core;
using Azure.Base;
using System;
using System.ComponentModel;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<PackageReference Include="System.Text.Primitives" Version="0.1.0-preview1-180216-4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Azure.Core\Azure.Core.csproj">
<ProjectReference Include="..\Azure.Base\Azure.Base.csproj">
<Project>{FEC0AE57-E241-46DB-B7C7-9181F28E1D3F}</Project>
<Name>Azure.Core</Name>
<Name>Azure.Base</Name>
</ProjectReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// Licensed under the MIT License.
using System.Text;
using System.Text.RegularExpressions;
using Azure.Core.Http;
using Azure.Base.Http;
using NUnit.Framework;
using static System.Buffers.Text.Encodings;

namespace Azure.Core.Tests
namespace Azure.Base.Tests
{
public class HeadersTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Core.Http;
using Azure.Core.Http.Pipeline;
using Azure.Core.Testing;
using Azure.Base.Http;
using Azure.Base.Http.Pipeline;
using Azure.Base.Testing;
using NUnit.Framework;
using System;
using System.Diagnostics.Tracing;

namespace Azure.Core.Tests
namespace Azure.Base.Tests
{
// TODO (pri 2): Do use the EventRegister NuGet package or the standalone eventRegister.exe tool, to run build-time validation of the event source classes defined in your assemblies.
public class PipelineTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Core.Http;
using Azure.Core.Http.Pipeline;
using Azure.Base.Http;
using Azure.Base.Http.Pipeline;
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.IO;
using System.Threading;
using System.Threading.Tasks;

namespace Azure.Core.Testing
namespace Azure.Base.Testing
{
public class TestEventListener : EventListener
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Core.Http;
using Azure.Core.Http.Pipeline;
using Azure.Base.Http;
using Azure.Base.Http.Pipeline;
using System;
using System.Text;
using System.Threading.Tasks;

namespace Azure.Core.Testing
namespace Azure.Base.Testing
{
public class TestLoggingPolicy : PipelinePolicy
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Buffers;
using System.Collections.Generic;

namespace Azure.Core.Testing
namespace Azure.Base.Testing
{
public class TestPool<T> : ArrayPool<T>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.231
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "Azure.Core\Azure.Core.csproj", "{25CE0676-8F2C-497B-8FB5-7DA41A31F6F9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Base", "Azure.Base\Azure.Base.csproj", "{25CE0676-8F2C-497B-8FB5-7DA41A31F6F9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.Tests", "Azure.Core.Tests\Azure.Core.Tests.csproj", "{84491222-6C36-4FA7-BBAE-1FA804129151}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Base.Tests", "Azure.Base.Tests\Azure.Base.Tests.csproj", "{84491222-6C36-4FA7-BBAE-1FA804129151}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System;

namespace Azure.Core
namespace Azure.Base
{
/// <summary>
/// Represents errors that the application might handle.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System;

namespace Azure.Core
namespace Azure.Base
{
public class KnownExceptionAttribute : Attribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System;

namespace Azure.Core
namespace Azure.Base
{
/// <summary>
/// Represents errors resulting from misuse of the API. The application code should be changed/fixed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Azure.Core.Buffers
namespace Azure.Base.Buffers
{
public static class StreamMemoryExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Core.Http;
using Azure.Base.Http;
using System;
using System.Diagnostics.Tracing;

// TODO (pri 2): we should log correction/activity
// TODO (pri 2): we should log exceptions
namespace Azure.Core.Diagnostics
namespace Azure.Base.Diagnostics
{
// TODO (pri 2): make the type internal
[EventSource(Name = SOURCE_NAME)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.ComponentModel;
using System.Text;

namespace Azure.Core
namespace Azure.Base
{
public readonly struct ETag : IEquatable<ETag>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System;
using System.ComponentModel;

namespace Azure.Core
namespace Azure.Base
{
public struct ETagFilter : IEquatable<ETagFilter>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Core.Http;
using Azure.Base.Http;
using System;

namespace Azure.Core
namespace Azure.Base
{
public class ResponseFailedException : Exception
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Core.Http.Pipeline;
using Azure.Base.Http.Pipeline;
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;

namespace Azure.Core.Http
namespace Azure.Base.Http
{
public struct HttpPipeline
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Buffers;
using System.ComponentModel;

namespace Azure.Core.Http
namespace Azure.Base.Http
{
public readonly struct HttpHeader : IEquatable<HttpHeader>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System;

namespace Azure.Core.Http.Pipeline
namespace Azure.Base.Http.Pipeline
{
class FixedPolicy : RetryPolicy {
int _maxRetries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Azure.Core.Http.Pipeline
namespace Azure.Base.Http.Pipeline
{
public class HttpPipelineTransport : PipelineTransport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Diagnostics;
using System.Threading.Tasks;

namespace Azure.Core.Http.Pipeline
namespace Azure.Base.Http.Pipeline
{
public class LoggingPolicy : PipelinePolicy
{
Expand Down
Loading