Ejemplo n.º 1
0
 public static bool IsSlug(string str)
 {
     return(ToolkitPathUtilities.IsSlug(str));
 }
Ejemplo n.º 2
0
 public static bool IsSafeRelativePath(string path)
 {
     return(ToolkitPathUtilities.IsSafeRelativePath(path));
 }
Ejemplo n.º 3
0
 /// <summary>Normalize an asset name to match how MonoGame's content APIs would normalize and cache it.</summary>
 /// <param name="assetName">The asset name to normalize.</param>
 public static string NormalizeAssetName(string assetName)
 {
     return(ToolkitPathUtilities.NormalizeAssetName(assetName));
 }
Ejemplo n.º 4
0
 public static string NormalizePath(string path)
 {
     return(ToolkitPathUtilities.NormalizePath(path));
 }
Ejemplo n.º 5
0
 public static string[] GetSegments(string path, int?limit = null)
 {
     return(ToolkitPathUtilities.GetSegments(path, limit));
 }