Skip to content

Commit 887a969

Browse files
committed
Move classes to Impl namespace
This reveals that ConsumerWorkService should not be public, but it's tricky to make that happen.
1 parent 390ef8b commit 887a969

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

projects/client/RabbitMQ.Client/src/client/api/IConnection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
using RabbitMQ.Client.Events;
4747
using RabbitMQ.Client.Exceptions;
48+
using RabbitMQ.Client.Impl;
4849

4950
namespace RabbitMQ.Client
5051
{

projects/client/RabbitMQ.Client/src/client/impl/AsyncConsumerWorkService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
using System.Threading;
33
using System.Threading.Tasks;
44

5-
using RabbitMQ.Client.Impl;
6-
7-
namespace RabbitMQ.Client
5+
namespace RabbitMQ.Client.Impl
86
{
97
internal sealed class AsyncConsumerWorkService : ConsumerWorkService
108
{

projects/client/RabbitMQ.Client/src/client/impl/ConsumerWorkService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Threading;
44
using System.Threading.Tasks;
55

6-
namespace RabbitMQ.Client
6+
namespace RabbitMQ.Client.Impl
77
{
88
public class ConsumerWorkService
99
{

0 commit comments

Comments
 (0)