mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Created a Settings Service
Created a Recent Service Created a Resources Service Code refactor Updated tests
This commit is contained in:
18
ModernKeePassApp.Test/Mock/SettingsServiceMock.cs
Normal file
18
ModernKeePassApp.Test/Mock/SettingsServiceMock.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using ModernKeePass.Interfaces;
|
||||
|
||||
namespace ModernKeePassApp.Test.Mock
|
||||
{
|
||||
public class SettingsServiceMock : ISettings
|
||||
{
|
||||
public T GetSetting<T>(string property)
|
||||
{
|
||||
return default(T);
|
||||
}
|
||||
|
||||
public void PutSetting<T>(string property, T value)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user