Skip to content

Commit

Permalink
Merge pull request #880 from BenBorn/feature/879-binarytablevalue
Browse files Browse the repository at this point in the history
Move BinaryTableValue to public section

(cherry picked from commit f088565)
  • Loading branch information
lukebakken committed Jun 24, 2020
1 parent 3e7110a commit 4b0774f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This source code is dual-licensed under the Apache License, version
// This source code is dual-licensed under the Apache License, version
// 2.0, and the Mozilla Public License, version 1.1.
//
// The APL v2.0:
Expand Down Expand Up @@ -38,7 +38,7 @@
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
//---------------------------------------------------------------------------

namespace RabbitMQ.Client.Impl
namespace RabbitMQ.Client
{
/// <summary>Wrapper for a byte[]. May appear as values read from
///and written to AMQP field tables.</summary>
Expand Down Expand Up @@ -67,7 +67,7 @@ namespace RabbitMQ.Client.Impl
/// of this class must be used.
/// </para>
/// </remarks>
class BinaryTableValue
public class BinaryTableValue
{
/// <summary>
/// Creates a new instance of the <see cref="BinaryTableValue"/> with null for its Bytes property.
Expand Down
6 changes: 6 additions & 0 deletions projects/Unit/APIApproval.Approve.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ namespace RabbitMQ.Client
public bool Redelivered { get; }
public string RoutingKey { get; }
}
public class BinaryTableValue
{
public BinaryTableValue() { }
public BinaryTableValue(byte[] bytes) { }
public byte[] Bytes { get; set; }
}
public sealed class ConnectionFactory : RabbitMQ.Client.ConnectionFactoryBase, RabbitMQ.Client.IAsyncConnectionFactory, RabbitMQ.Client.IConnectionFactory
{
public const ushort DefaultChannelMax = 2047;
Expand Down

0 comments on commit 4b0774f

Please sign in to comment.