XAML-Map-Control/MapControl/Shared/FilePath.cs
2025-09-15 17:46:31 +02:00

17 lines
327 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
}
}
}