17 lines
735 B
C#
17 lines
735 B
C#
namespace Voile.Common.Configuration;
|
|
|
|
public interface IConfigurationSource
|
|
{
|
|
|
|
public bool ReadValue(string category, string key, bool defaultVaule);
|
|
public object ReadValue(string category, string key, float defaultVaule);
|
|
public int ReadValue(string category, string key, int defaultVaule);
|
|
public string ReadValue(string category, string key, string defaultVaule);
|
|
|
|
public void WriteValue(string category, string key, bool value);
|
|
public void WriteValue(string category, string key, long value);
|
|
public void WriteValue(string category, string key, int value);
|
|
public void WriteValue(string category, string key, string value);
|
|
public void WriteValue(string category, string key, float value);
|
|
}
|