52 lines
1.2 KiB
C#
52 lines
1.2 KiB
C#
using Voile.Common.Configuration;
|
|
|
|
namespace Voile.Common.Tests.DemoAssets;
|
|
|
|
public class AutoconfigSource : IConfigurationSource
|
|
{
|
|
public bool ReadValue(string category, string key, bool defaultVaule)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public object ReadValue(string category, string key, float defaultVaule)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public int ReadValue(string category, string key, int defaultVaule)
|
|
{
|
|
return 2;
|
|
}
|
|
|
|
public string ReadValue(string category, string key, string defaultVaule)
|
|
{
|
|
return "Three";
|
|
}
|
|
|
|
public void WriteValue(string category, string key, bool value)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void WriteValue(string category, string key, long value)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void WriteValue(string category, string key, int value)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void WriteValue(string category, string key, string value)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void WriteValue(string category, string key, float value)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|