Skip to content

Commit 9c229e7

Browse files
committed
API approval
1 parent dc981ff commit 9c229e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

projects/Unit/APIApproval.Approve.verified.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,18 @@ namespace RabbitMQ.Client
5050
public virtual System.Threading.Tasks.Task HandleModelShutdown(object model, RabbitMQ.Client.ShutdownEventArgs reason) { }
5151
public virtual System.Threading.Tasks.Task OnCancel(params string[] consumerTags) { }
5252
}
53-
public class BasicGetResult
53+
public sealed class BasicGetResult : System.IDisposable
5454
{
5555
public BasicGetResult(ulong deliveryTag, bool redelivered, string exchange, string routingKey, uint messageCount, RabbitMQ.Client.IBasicProperties basicProperties, System.ReadOnlyMemory<byte> body) { }
56+
public BasicGetResult(ulong deliveryTag, bool redelivered, string exchange, string routingKey, uint messageCount, RabbitMQ.Client.IBasicProperties basicProperties, System.ReadOnlyMemory<byte> body, byte[] rentedArray) { }
5657
public RabbitMQ.Client.IBasicProperties BasicProperties { get; }
5758
public System.ReadOnlyMemory<byte> Body { get; }
5859
public ulong DeliveryTag { get; }
5960
public string Exchange { get; }
6061
public uint MessageCount { get; }
6162
public bool Redelivered { get; }
6263
public string RoutingKey { get; }
64+
public void Dispose() { }
6365
}
6466
public class BinaryTableValue
6567
{
@@ -860,4 +862,4 @@ namespace RabbitMQ.Client.Logging
860862
public string Type { get; }
861863
public override string ToString() { }
862864
}
863-
}
865+
}

0 commit comments

Comments
 (0)