Sicherung
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user