Skip to content

Commit 47eb28c

Browse files
committed
Uncomment the Obsolete tags for deprecated FCM batch send APIs
1 parent bc7bc09 commit 47eb28c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessaging.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public async Task<BatchResponse> SendEachForMulticastAsync(
343343
/// <param name="messages">Up to 500 messages to send in the batch. Cannot be null.</param>
344344
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
345345
/// outcome.</returns>
346-
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message})"/> instead)]
346+
[Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message})"/> instead)]
347347
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages)
348348
{
349349
return await this.SendAllAsync(messages, false)
@@ -362,7 +362,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages)
362362
/// operation.</param>
363363
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
364364
/// outcome.</returns>
365-
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message}, CancellationToken)"/> instead)]
365+
[Obsolete("Use SendEachAsync(IEnumerable{Message}, CancellationToken) instead")]
366366
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, CancellationToken cancellationToken)
367367
{
368368
return await this.SendAllAsync(messages, false, cancellationToken)
@@ -382,7 +382,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, Can
382382
/// but it will not be delivered to any actual recipients.</param>
383383
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
384384
/// outcome.</returns>
385-
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message}, bool)"/> instead)]
385+
[Obsolete("Use SendEachAsync(IEnumerable{Message}, bool) instead")]
386386
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, bool dryRun)
387387
{
388388
return await this.SendAllAsync(messages, dryRun, default)
@@ -404,7 +404,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, boo
404404
/// operation.</param>
405405
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
406406
/// outcome.</returns>
407-
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message}, bool, CancellationToken)"/> instead)]
407+
[Obsolete("Use SendEachAsync(IEnumerable{Message}, bool, CancellationToken) instead")]
408408
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, bool dryRun, CancellationToken cancellationToken)
409409
{
410410
return await this.messagingClient.SendAllAsync(messages, dryRun, cancellationToken)
@@ -419,7 +419,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, boo
419419
/// <param name="message">The message to be sent. Must not be null.</param>
420420
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
421421
/// outcome.</returns>
422-
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage)"/> instead)]
422+
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage) instead")]
423423
public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message)
424424
{
425425
return await this.SendMulticastAsync(message, false)
@@ -436,7 +436,7 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message)
436436
/// operation.</param>
437437
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
438438
/// outcome.</returns>
439-
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage, CancellationToken)"/> instead)]
439+
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage, CancellationToken) instead")]
440440
public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, CancellationToken cancellationToken)
441441
{
442442
return await this.SendMulticastAsync(message, false, cancellationToken)
@@ -458,7 +458,7 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, Ca
458458
/// but it will not be delivered to any actual recipients.</param>
459459
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
460460
/// outcome.</returns>
461-
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage, bool)"/> instead)]
461+
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage, bool) instead")]
462462
public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, bool dryRun)
463463
{
464464
return await this.SendMulticastAsync(message, dryRun, default)
@@ -482,7 +482,7 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, bo
482482
/// operation.</param>
483483
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
484484
/// outcome.</returns>
485-
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage, bool, CancellationToken)"/> instead)]
485+
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage, bool, CancellationToken) instead")]
486486
public async Task<BatchResponse> SendMulticastAsync(
487487
MulticastMessage message, bool dryRun, CancellationToken cancellationToken)
488488
{

0 commit comments

Comments
 (0)