Skip to content

Commit ae11694

Browse files
committed
dotnet format
1 parent a0326f3 commit ae11694

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,8 @@ indent_size = 2
191191
end_of_line = lf
192192
[*.{cmd,bat}]
193193
end_of_line = crlf
194+
195+
# Vendored third-party code - exclude from formatting
196+
# DeepCloner is vendored from https://github.com/force-net/DeepCloner
197+
[src/Foundatio/DeepCloner/**.cs]
198+
generated_code = true

src/Foundatio/Caching/HybridAwareCacheClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public async Task<bool> SetAsync<T>(string key, T value, TimeSpan? expiresIn = n
131131
public async Task<int> SetAllAsync<T>(IDictionary<string, T> values, TimeSpan? expiresIn = null)
132132
{
133133
ArgumentNullException.ThrowIfNull(values);
134-
134+
135135
if (values.Count is 0)
136136
return 0;
137137

src/Foundatio/Caching/NullCacheClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public Task<bool> SetAsync<T>(string key, T value, TimeSpan? expiresIn = null)
9999
public Task<int> SetAllAsync<T>(IDictionary<string, T> values, TimeSpan? expiresIn = null)
100100
{
101101
ArgumentNullException.ThrowIfNull(values);
102-
102+
103103
if (values.Count is 0)
104104
return Task.FromResult(0);
105105

src/Foundatio/Caching/ScopedCacheClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public Task<bool> SetAsync<T>(string key, T value, TimeSpan? expiresIn = null)
170170
public Task<int> SetAllAsync<T>(IDictionary<string, T> values, TimeSpan? expiresIn = null)
171171
{
172172
ArgumentNullException.ThrowIfNull(values);
173-
173+
174174
if (values.Count is 0)
175175
return Task.FromResult(0);
176176

src/Foundatio/Resilience/ResiliencePolicyExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Threading;
3-
using System.Threading.Tasks;
42
using Foundatio.Utility;
53
using Microsoft.Extensions.Logging;
64

0 commit comments

Comments
 (0)