rework configuration save, load configuration backups when available and config cannot be read
This commit is contained in:
11
MareSynchronos/MareConfiguration/IConfigService.cs
Normal file
11
MareSynchronos/MareConfiguration/IConfigService.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user