From 003c0ca11457affb7e9f081ccffcf969d0348743 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Wed, 10 Jan 2024 16:00:50 -0600 Subject: [PATCH] Formatting: If we're separating parameters to separate lines, convention requires each have their own line. Signed-off-by: Whit Waldo --- src/Dapr.Client/DaprClientGrpc.cs | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/Dapr.Client/DaprClientGrpc.cs b/src/Dapr.Client/DaprClientGrpc.cs index d86a0605e..4b720485a 100644 --- a/src/Dapr.Client/DaprClientGrpc.cs +++ b/src/Dapr.Client/DaprClientGrpc.cs @@ -612,8 +612,11 @@ public override async Task> GetBulkStateAsync(strin } /// - public override async Task>> GetBulkStateAsync(string storeName, - IReadOnlyList keys, int? parallelism, IReadOnlyDictionary metadata = default, + public override async Task>> GetBulkStateAsync( + string storeName, + IReadOnlyList keys, + int? parallelism, + IReadOnlyDictionary metadata = default, CancellationToken cancellationToken = default) { var rawBulkState = await GetBulkStateRawAsync(storeName, keys, parallelism, metadata, cancellationToken); @@ -621,8 +624,7 @@ public override async Task>> GetBulkStateAsy var bulkResponse = new List>(); foreach (var item in rawBulkState) { - var deserializedValue = - TypeConverters.FromJsonByteString(item.Value, this.JsonSerializerOptions); + var deserializedValue = TypeConverters.FromJsonByteString(item.Value, this.JsonSerializerOptions); bulkResponse.Add(new BulkStateItem(item.Key, deserializedValue, item.Etag)); } @@ -635,7 +637,9 @@ public override async Task>> GetBulkStateAsy /// private async Task> GetBulkStateRawAsync( string storeName, - IReadOnlyList keys, int? parallelism, IReadOnlyDictionary metadata = default, + IReadOnlyList keys, + int? parallelism, + IReadOnlyDictionary metadata = default, CancellationToken cancellationToken = default) { ArgumentVerifier.ThrowIfNullOrEmpty(storeName, nameof(storeName)); @@ -644,7 +648,8 @@ public override async Task>> GetBulkStateAsy var envelope = new Autogenerated.GetBulkStateRequest() { - StoreName = storeName, Parallelism = parallelism ?? default + StoreName = storeName, + Parallelism = parallelism ?? default }; if (metadata != null)