Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

18 wiersze
325 B

  1. using System;
  2. using System.IO;
  3. namespace SUISS.Core
  4. {
  5. public static class PathHandler
  6. {
  7. public static string Combine(string basePath, string subPath)
  8. {
  9. if (subPath.StartsWith("/"))
  10. {
  11. subPath = subPath.Substring(1);
  12. }
  13. return Path.Combine(basePath, subPath).Replace("\\", "/");
  14. }
  15. }
  16. }