Use file scoped namespace.

This commit is contained in:
Eric Erhardt 2023-06-13 11:33:29 -05:00
parent fd76f390ef
commit 42e161d1f9

View File

@ -1,12 +1,11 @@
using System.Text.Json; using System.Text.Json;
namespace Services.Common namespace Services.Common;
public static class JsonHelper
{ {
public static class JsonHelper public static readonly JsonSerializerOptions CaseInsensitiveOptions = new()
{ {
public static readonly JsonSerializerOptions CaseInsensitiveOptions = new() PropertyNameCaseInsensitive = true
{ };
PropertyNameCaseInsensitive = true
};
}
} }