Skip to content

Commit f0fe27e

Browse files
committed
Move ShutdownEventArgs to RabbitMQ.Client.Events
Remove `RabbitMQ.Client.client.impl` namespace. Move files in `RabbitMQ.Client` namespace to where they are expected in directory structure. Move util classes. Capitalize `Util` directory Remove unused `TypeExtensions` methods Move DictionaryExtensions to the correct location Move `TaskExtensions.cs` to the correct location. Move `RentedMemory.cs` to the correct location Move `Logging` namespace classes to the correct directory Move `Impl` namespace classes to the correct directory Move `Framing` namespace classes to the correct directory Rename all `RabbitMQ.Client.Framing.Impl` to `RabbitMQ.Client.Framing` Move Exceptions and Events directories to their correct locations Move `ConsumerDispatching` class files to the correct location. Move `Constants.cs` to the correct location
1 parent 9dab7bc commit f0fe27e

File tree

231 files changed

+629
-288
lines changed

Some content is hidden

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

231 files changed

+629
-288
lines changed

projects/Benchmarks/ConsumerDispatching/AsyncBasicConsumerFake.cs

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,39 @@
1-
using System;
1+
// This source code is dual-licensed under the Apache License, version
2+
// 2.0, and the Mozilla Public License, version 2.0.
3+
//
4+
// The APL v2.0:
5+
//
6+
//---------------------------------------------------------------------------
7+
// Copyright (c) 2007-2024 Broadcom. All Rights Reserved.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// https://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
//---------------------------------------------------------------------------
21+
//
22+
// The MPL v2.0:
23+
//
24+
//---------------------------------------------------------------------------
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
28+
//
29+
// Copyright (c) 2007-2024 Broadcom. All Rights Reserved.
30+
//---------------------------------------------------------------------------
31+
32+
using System;
233
using System.Threading;
334
using System.Threading.Tasks;
435
using RabbitMQ.Client;
36+
using RabbitMQ.Client.Events;
537

638
namespace RabbitMQ.Benchmarks
739
{

projects/Benchmarks/WireFormatting/MethodFraming.cs

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,40 @@
1-
using System;
1+
// This source code is dual-licensed under the Apache License, version
2+
// 2.0, and the Mozilla Public License, version 2.0.
3+
//
4+
// The APL v2.0:
5+
//
6+
//---------------------------------------------------------------------------
7+
// Copyright (c) 2007-2024 Broadcom. All Rights Reserved.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// https://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
//---------------------------------------------------------------------------
21+
//
22+
// The MPL v2.0:
23+
//
24+
//---------------------------------------------------------------------------
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
28+
//
29+
// Copyright (c) 2007-2024 Broadcom. All Rights Reserved.
30+
//---------------------------------------------------------------------------
31+
32+
using System;
233
using System.Text;
334

435
using BenchmarkDotNet.Attributes;
536
using RabbitMQ.Client;
6-
using RabbitMQ.Client.client.impl;
7-
using RabbitMQ.Client.Framing.Impl;
37+
using RabbitMQ.Client.Framing;
838
using RabbitMQ.Client.Impl;
939

1040
namespace RabbitMQ.Benchmarks

projects/Benchmarks/WireFormatting/MethodSerialization.cs

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

44
using BenchmarkDotNet.Attributes;
55
using RabbitMQ.Client;
6-
using RabbitMQ.Client.Framing.Impl;
6+
using RabbitMQ.Client.Framing;
77

88
namespace RabbitMQ.Benchmarks
99
{

projects/RabbitMQ.Client/client/api/AsyncDefaultBasicConsumer.cs renamed to projects/RabbitMQ.Client/AsyncDefaultBasicConsumer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Linq;
44
using System.Threading;
55
using System.Threading.Tasks;
6+
using RabbitMQ.Client.Events;
67

78
namespace RabbitMQ.Client
89
{

projects/RabbitMQ.Client/client/api/BasicProperties.cs renamed to projects/RabbitMQ.Client/BasicProperties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
using System;
3333
using System.Collections.Generic;
3434
using System.Diagnostics.CodeAnalysis;
35-
using RabbitMQ.Client.Framing.Impl;
35+
using RabbitMQ.Client.Framing;
3636
using RabbitMQ.Client.Impl;
3737

3838
namespace RabbitMQ.Client

0 commit comments

Comments
 (0)