Cleanup of global usings

This commit is contained in:
ClemensFischer 2025-08-19 19:43:02 +02:00
parent 0a427a90de
commit 81eabef257
57 changed files with 207 additions and 54 deletions

View file

@ -1,13 +1,15 @@
namespace MapControl
using System.IO;
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);
return Path.GetFullPath(path, System.AppDomain.CurrentDomain.BaseDirectory);
#else
return System.IO.Path.GetFullPath(path);
return Path.GetFullPath(path);
#endif
}
}