Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 42e161d

Browse files
committed
Use file scoped namespace.
1 parent fd76f39 commit 42e161d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
using System.Text.Json;
22

3-
namespace Services.Common
3+
namespace Services.Common;
4+
5+
public static class JsonHelper
46
{
5-
public static class JsonHelper
7+
public static readonly JsonSerializerOptions CaseInsensitiveOptions = new()
68
{
7-
public static readonly JsonSerializerOptions CaseInsensitiveOptions = new()
8-
{
9-
PropertyNameCaseInsensitive = true
10-
};
11-
}
9+
PropertyNameCaseInsensitive = true
10+
};
1211
}

0 commit comments

Comments
 (0)