Table of Contents

Class PathHelper

Namespace: Sisk.Core.Helpers
Assembly: Sisk.Core.dll

Provides useful path-dedicated helper members.

public sealed class PathHelper

Inheritance

objectPathHelper

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

PathHelper()

Methods

CombinePaths(params string[])

Combines the specified URL paths into one.

FilesystemCombinePaths(bool, char, params string[])

Normalizes and combines the specified file-system paths into one.

FilesystemCombinePaths(bool, char, ReadOnlySpan<string>)

Normalizes and combines the specified file-system paths into one.

FilesystemCombinePaths(params string[])

Normalizes and combines the specified file-system paths into one, using the default environment directory separator char.

NormalizePath(string, char)

Normalize the given path to use the specified directory separator, trim the last separator and remove empty entries.