mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
22 lines
491 B
C#
22 lines
491 B
C#
// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control
|
|
// © 2022 Clemens Fischer
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|
|
|
using System;
|
|
using System.IO;
|
|
|
|
namespace MapControl
|
|
{
|
|
public static class FilePath
|
|
{
|
|
public static string GetFullPath(string path)
|
|
{
|
|
#if NET6_0_OR_GREATER
|
|
return Path.GetFullPath(path, AppDomain.CurrentDomain.BaseDirectory);
|
|
#else
|
|
return Path.GetFullPath(path);
|
|
#endif
|
|
}
|
|
}
|
|
}
|