XAML-Map-Control/MapControl/Shared/FilePath.cs
2026-04-13 17:14:49 +02:00

15 lines
293 B
C#

using System.IO;
namespace MapControl;
public static class FilePath
{
public static string GetFullPath(string path)
{
#if NETFRAMEWORK
return Path.GetFullPath(path);
#else
return Path.GetFullPath(path, System.AppDomain.CurrentDomain.BaseDirectory);
#endif
}
}