Skip to content

Commit 4b0774f

Browse files
committed
Merge pull request #880 from BenBorn/feature/879-binarytablevalue
Move BinaryTableValue to public section (cherry picked from commit f088565)
1 parent 3e7110a commit 4b0774f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

projects/RabbitMQ.Client/client/impl/BinaryTableValue.cs renamed to projects/RabbitMQ.Client/client/api/BinaryTableValue.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This source code is dual-licensed under the Apache License, version
1+
// This source code is dual-licensed under the Apache License, version
22
// 2.0, and the Mozilla Public License, version 1.1.
33
//
44
// The APL v2.0:
@@ -38,7 +38,7 @@
3838
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3939
//---------------------------------------------------------------------------
4040

41-
namespace RabbitMQ.Client.Impl
41+
namespace RabbitMQ.Client
4242
{
4343
/// <summary>Wrapper for a byte[]. May appear as values read from
4444
///and written to AMQP field tables.</summary>
@@ -67,7 +67,7 @@ namespace RabbitMQ.Client.Impl
6767
/// of this class must be used.
6868
/// </para>
6969
/// </remarks>
70-
class BinaryTableValue
70+
public class BinaryTableValue
7171
{
7272
/// <summary>
7373
/// Creates a new instance of the <see cref="BinaryTableValue"/> with null for its Bytes property.

projects/Unit/APIApproval.Approve.verified.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ namespace RabbitMQ.Client
5656
public bool Redelivered { get; }
5757
public string RoutingKey { get; }
5858
}
59+
public class BinaryTableValue
60+
{
61+
public BinaryTableValue() { }
62+
public BinaryTableValue(byte[] bytes) { }
63+
public byte[] Bytes { get; set; }
64+
}
5965
public sealed class ConnectionFactory : RabbitMQ.Client.ConnectionFactoryBase, RabbitMQ.Client.IAsyncConnectionFactory, RabbitMQ.Client.IConnectionFactory
6066
{
6167
public const ushort DefaultChannelMax = 2047;

0 commit comments

Comments
 (0)