server-master/srcs/PhoenixLib.Configuration/IConfigurationHelper.cs
2026-02-10 18:21:30 +01:00

13 lines
No EOL
434 B
C#

namespace PhoenixLib.Configuration
{
/// <summary>
/// A file system based configuration helper
/// </summary>
public interface IConfigurationHelper
{
T Load<T>(string path) where T : class, new();
T Load<T>(string path, bool createIfNotExists) where T : class, new();
T Load<T>(string path, T defaultValue) where T : class, new();
void Save<T>(string path, T value);
}
}