Sicherung

This commit is contained in:
Maier Stephan SI
2023-01-20 16:09:00 +01:00
parent e5257d8413
commit b684704bf8
139 changed files with 95678 additions and 499 deletions

View File

@@ -43,7 +43,7 @@ namespace Config.Net.Stores
// nothing to dispose.
}
public string Name => "json";
public static string Name => "json";
public bool CanRead => true;
@@ -70,7 +70,7 @@ namespace Config.Net.Stores
if (isIndex)
{
if (!(node is JsonArray ja)) return null;
if (node is not JsonArray ja) return null;
if (partIndex < ja.Count)
{
@@ -132,7 +132,7 @@ namespace Config.Net.Stores
string js = _j.ToJsonString(new JsonSerializerOptions { WriteIndented = true });
FileInfo file = new FileInfo(_pathName);
FileInfo file = new(_pathName);
if (file is not null)
{