sharee.bike-App/SharedBusinessLogic.Tests.Framework/Model/Device/SpecialFolderMock.cs
2024-04-09 12:53:23 +02:00

23 lines
572 B
C#

using ShareeBike.Model.Device;
namespace SharedBusinessLogic.Tests.Framework.Model.Device
{
public class SpecialFolderMock : ISpecialFolder
{
/// <summary>
/// Get the folder name of external folder to write to.
/// </summary>
/// <returns></returns>
public string GetExternalFilesDir()
{
return string.Empty;
}
/// <summary> Gets the folder name of the personal data folder dir on internal storage. </summary>
/// <returns>Directory name.</returns>
public string GetInternalPersonalDir()
{
return System.IO.Path.GetTempPath();
}
}
}