mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
15 lines
334 B
C#
15 lines
334 B
C#
namespace MapControl
|
|
{
|
|
public static class FilePath
|
|
{
|
|
public static string GetFullPath(string path)
|
|
{
|
|
#if NET6_0_OR_GREATER
|
|
return System.IO.Path.GetFullPath(path, System.AppDomain.CurrentDomain.BaseDirectory);
|
|
#else
|
|
return System.IO.Path.GetFullPath(path);
|
|
#endif
|
|
}
|
|
}
|
|
}
|