Files
modernkeepass/ModernKeePassApp.Test/Mock/SettingsServiceMock.cs
BONNEVILLE Geoffroy e7d731bb04 KeepassLib version 2.38
Added a new settings page to allow auto-save or not
App now resumes correctly from suspend
Settings service now allows getting default values
Removed french special characters from metadata
Code cleanup
2018-03-09 18:06:06 +01:00

19 lines
419 B
C#

using System;
using ModernKeePass.Interfaces;
namespace ModernKeePassApp.Test.Mock
{
public class SettingsServiceMock : ISettingsService
{
public T GetSetting<T>(string property, T defaultValue = default(T))
{
return defaultValue;
}
public void PutSetting<T>(string property, T value)
{
throw new NotImplementedException();
}
}
}