sharee.bike-App/TestFramework/Model/Device/SpecialFolderMock.cs

24 lines
544 B
C#
Raw Normal View History

2021-07-12 21:31:46 +02:00
using TINK.Model.Device;
2021-11-14 23:27:29 +01:00
namespace TestFramework.Model.Device
2021-07-12 21:31:46 +02:00
{
2022-09-06 16:08:19 +02:00
public class SpecialFolderMock : ISpecialFolder
{
/// <summary>
/// Get the folder name of external folder to write to.
/// </summary>
/// <returns></returns>
public string GetExternalFilesDir()
{
return string.Empty;
}
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
/// <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();
}
}
2021-07-12 21:31:46 +02:00
}