13 lines
370 B
C#
13 lines
370 B
C#
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Pilz.Configuration;
|
|
|
|
public interface ISettings
|
|
{
|
|
IReadOnlyCollection<ISettingsNode> Childs { get; }
|
|
T Get<T>() where T : ISettingsNode, ISettingsIdentifier;
|
|
void Reset();
|
|
string Save(JsonSerializerSettings serializer);
|
|
bool Load(JsonSerializerSettings serializer, string raw);
|
|
} |