Skip to content

Move BinaryTableValue to public section #880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2020
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
@@ -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