Skip to content

Commit

Permalink
Uncomment the Obsolete tags for deprecated FCM batch send APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Doris-Ge committed Jul 25, 2023
1 parent bc7bc09 commit 47eb28c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessaging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public async Task<BatchResponse> SendEachForMulticastAsync(
/// <param name="messages">Up to 500 messages to send in the batch. Cannot be null.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message})"/> instead)]
[Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message})"/> instead)]

Check failure on line 346 in FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessaging.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Syntax error, ',' expected

Check failure on line 346 in FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessaging.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Invalid expression term '>'

Check failure on line 346 in FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessaging.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Syntax error, ',' expected

Check failure on line 346 in FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessaging.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Invalid expression term '>'
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages)
{
return await this.SendAllAsync(messages, false)
Expand All @@ -362,7 +362,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages)
/// operation.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message}, CancellationToken)"/> instead)]
[Obsolete("Use SendEachAsync(IEnumerable{Message}, CancellationToken) instead")]
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, CancellationToken cancellationToken)
{
return await this.SendAllAsync(messages, false, cancellationToken)
Expand All @@ -382,7 +382,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, Can
/// but it will not be delivered to any actual recipients.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message}, bool)"/> instead)]
[Obsolete("Use SendEachAsync(IEnumerable{Message}, bool) instead")]
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, bool dryRun)
{
return await this.SendAllAsync(messages, dryRun, default)
Expand All @@ -404,7 +404,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, boo
/// operation.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachAsync(IEnumerable{Message}, bool, CancellationToken)"/> instead)]
[Obsolete("Use SendEachAsync(IEnumerable{Message}, bool, CancellationToken) instead")]
public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, bool dryRun, CancellationToken cancellationToken)
{
return await this.messagingClient.SendAllAsync(messages, dryRun, cancellationToken)
Expand All @@ -419,7 +419,7 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, boo
/// <param name="message">The message to be sent. Must not be null.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage)"/> instead)]
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage) instead")]
public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message)
{
return await this.SendMulticastAsync(message, false)
Expand All @@ -436,7 +436,7 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message)
/// operation.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage, CancellationToken)"/> instead)]
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage, CancellationToken) instead")]
public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, CancellationToken cancellationToken)
{
return await this.SendMulticastAsync(message, false, cancellationToken)
Expand All @@ -458,7 +458,7 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, Ca
/// but it will not be delivered to any actual recipients.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage, bool)"/> instead)]
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage, bool) instead")]
public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, bool dryRun)
{
return await this.SendMulticastAsync(message, dryRun, default)
Expand All @@ -482,7 +482,7 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, bo
/// operation.</param>
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
/// outcome.</returns>
/// [Obsolete(Use <see cref="SendEachForMulticastAsync(MulticastMessage, bool, CancellationToken)"/> instead)]
[Obsolete("Use SendEachForMulticastAsync(MulticastMessage, bool, CancellationToken) instead")]
public async Task<BatchResponse> SendMulticastAsync(
MulticastMessage message, bool dryRun, CancellationToken cancellationToken)
{
Expand Down

0 comments on commit 47eb28c

Please sign in to comment.