More progress on IoC. Controllers are implemented
This commit is contained in:
35
Aurora.test/Models/Mock/SettingsServiceMock.cs
Normal file
35
Aurora.test/Models/Mock/SettingsServiceMock.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using Aurora.Services.Settings;
|
||||
using Plugin.Settings.Abstractions;
|
||||
|
||||
namespace Aurora.test.Models.Mock
|
||||
{
|
||||
public class SettingsServiceMock : ISettingsService
|
||||
{
|
||||
public SettingsServiceMock()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ISettings AppSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The user's username. This is persisted.
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string Username { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The default port to use. This is persisted.
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public int DefaultPort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The current sessions clientId. This is assigned by the server. This is not persisted.
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string ClientId { get; set; }
|
||||
|
||||
public string LibraryLocation { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user