ISettings.Logger

This commit is contained in:
Pilzinsel64
2025-07-10 07:00:56 +02:00
parent c7b2a07dd0
commit 4bf700c4ff
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using Newtonsoft.Json; using Castle.Core.Logging;
using Newtonsoft.Json;
using System.Collections.Generic; using System.Collections.Generic;
namespace Pilz.Configuration; namespace Pilz.Configuration;
@@ -6,6 +7,8 @@ namespace Pilz.Configuration;
public interface ISettings public interface ISettings
{ {
IReadOnlyCollection<ISettingsNode> Childs { get; } IReadOnlyCollection<ISettingsNode> Childs { get; }
ILogger Logger { get; set; }
T Get<T>() where T : ISettingsNode, ISettingsIdentifier; T Get<T>() where T : ISettingsNode, ISettingsIdentifier;
void Reset(); void Reset();
string Save(JsonSerializerSettings serializer); string Save(JsonSerializerSettings serializer);

View File

@@ -7,7 +7,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<Version>3.2.5</Version> <Version>3.2.6</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>