rework configuration save, load configuration backups when available and config cannot be read

This commit is contained in:
Stanley Dimant
2024-11-30 18:09:18 +01:00
parent eb385a859c
commit d60d1979ce
12 changed files with 213 additions and 55 deletions

View File

@@ -0,0 +1,11 @@
using MareSynchronos.MareConfiguration.Configurations;
namespace MareSynchronos.MareConfiguration;
public interface IConfigService<out T> : IDisposable where T : IMareConfiguration
{
T Current { get; }
string ConfigurationName { get; }
string ConfigurationPath { get; }
public event EventHandler? ConfigSave;
}